Skip to main content

Error: "Uploaded file is 0 bytes (SY1120)" error (DM)

When uploading a file to Coins (attaching invoice PDFs for example) , the error "Uploaded file is 0 bytes (SY1120)" is seen and the upload fails.

Magda Antonie avatar
Written by Magda Antonie
Updated over 2 months ago

Overview

This issue occurs because a background process start-up value (binaryUploadMaxSize) sets the default size of file uploads to 10MB, which is lower than the default file size limit set by DM/MAXFILSZ (20MB). If the uploaded file exceeds 10MB, the upload will fail (unless DM/MAXFILSZ is set to be lower than 10MB (or a lower value is specified in the DM category).


How to fix the issue:

The solution is to increase the value of binaryUploadMaxSize to be a larger value (100MB for example), then to set the value of DM/MAXFILSZ to be less than this value.

This will ensure that the application limit is always hit first.
​
Increasing the value of binaryUploadMaxSize is a Coins tech request, and so a support ticket should be raised for this.

Note: The change requires an environment restart.

Did this answer your question?