Back to all status codes
413

Content Too Large

The request body is larger than the server is willing or able to process.

Common Causes

  • File upload too large
  • Request body exceeds limit
  • Server max body size

Fix Solutions

Reduce payload size

Compress or split the request into smaller chunks.

Increase server limit

Configure server to accept larger request bodies.

Code Examples

# Increase max body size
client_max_body_size 50M;

Related Tools