Error saving files! Error: Request failed with status code 413

0
Hi , I am trying to import a file of size 1.72MB  using the file dropper with max File size set to 20MB and it throws me an error on the server saying :  “Error saving files! Error : Request failed with status code 413” .   Could you please help . Thanks and advance 
asked
1 answers
0

The error "Request failed with status code 413" in Mendix indicates that the server rejected the request because the payload (i.e., the file being uploaded) exceeded the maximum allowed size.

To resolve this issue, you can try the following steps:

  1. Check the maximum file size allowed for file uploads in the Mendix project settings. If the maximum file size is less than the size of the file you are trying to upload, increase the maximum file size allowed for file uploads.

  2. Check the maximum file size allowed in the server configuration. If the maximum file size is less than the size of the file you are trying to upload, increase the maximum file size allowed for file uploads in the server configuration.

  3. If you are uploading the file using a REST API, check the maximum payload size allowed in the API endpoint configuration. If the maximum payload size is less than the size of the file you are trying to upload, increase the maximum payload size allowed in the API endpoint configuration.

  4. Check if there is any network-related issue or firewall blocking the upload. Try uploading the file using a different network or firewall to rule out any network or firewall issues.

  5. If you have access to the server logs, check the logs to see if they provide any additional information about the cause of the error.

If none of these steps resolve the issue, you may want to reach out to Mendix support or your server administrator for further assistance.

answered