File cant be uploaded using File Dropper. In local works fine but not working in Sandbox application

Hi all,I am also getting error . I am not able to upload file in sandbox application . In local its working and I can able to upload. but in sandbox i am getting error as ==================== Error saving files! Error: Expected response body to be JSON. Instead received: "<html><head><title>413 Request Entity Too Large</title></head><body><center><h1>413 Request Entity Too Large</h1></center><hr><center>nginx</center></body></html>.   Anyone have idea about this error and how to resolve. 
3 answers

Hello Vijayakumar,


I see that you get 413 code, which means the server rejected the payload because it's too large. In sandbox it will occur if you are trying to upload larger file, try with smaller file. If you are using post method try with save document.


Hope my answer helps. Reach me out for any queries.


Hi vijayakumar,


If I understand the issue, I present some insights, and potential solutions

  1. This error suggests that the upload process took longer than the configured timeout limit (30,000 milliseconds or 30 seconds). It could be due to network latency or an issue with the file upload process itself.

    • Potential Solution:
      • Check the network stability during the upload process.
      • If this issue persists, you may need to adjust the timeout configuration on the server side, if possible.
  2. Intermittent Issue: The logs mention that it's an intermittent issue, and it cannot be recreated consistently. Intermittent issues are often challenging to debug.

    • Potential Solution:
      • If the issue is intermittent, capturing additional logging and debugging information during the upload process might help identify the root cause.
      • Consider logging more information about the upload process to understand what happens during the failed attempts.
  3. File Size Limit Exceeded (413 Request Entity Too Large): The second error log from the sandbox environment indicates a "413 Request Entity Too Large" error. This error typically occurs when the size of the file being uploaded exceeds the server's configured limit.

    • Potential Solution:
      • Check the size of the files being uploaded to the sandbox environment.
      • Verify the server configuration for file size limits and adjust them accordingly.
  4. Network or Server Configuration Issues: Issues related to network connectivity or server configuration could also contribute to these problems.

    • Potential Solution:
      • Ensure that there are no network issues between the Mendix Studio Pro and the sandbox environment.
      • Verify that the sandbox environment is correctly configured to handle file uploads.


** Kindly  accept my answer if it assist you to solve your problem.



I think , If you're unable to upload files using File Dropper in a sandboxed environment, You can start by checking the sandbox's file access permissions and network configuration. Test with different file types to pinpoint any specific limitations. Review error messages for insights into the issue. If problems persist, reach out to the sandbox or File Dropper support teams for further assistance.

Have a nice day.