worldline

Documentation

413 - Payload Too Large

Description

The request entity is larger than the server is willing or able to process. This indicates that the size of the request body exceeds the maximum allowed payload size configured for the API endpoint.

Common Scenarios

  1. Oversized JSON payload : The JSON body in the request exceeds the maximum allowed size.

  2. Large file upload : An attempt to upload a file that exceeds the server's file size limits.

  3. Uncompressed large data : The request payload was not compressed, resulting in an excessively large transmission.

Resolution Steps

  • Reduce the size of your request payload by removing unnecessary data.

  • Compress your request payload using gzip compression if supported by the API.

  • For file uploads, ensure the file size is within the documented limits.

  • Refer to the API documentation to verify the maximum payload size limits for each endpoint.

Check the API documentation for payload size limits and recommendations for handling large data transfers.