HTTP · Content Too Large

HTTP Error Code 413

The request body is larger than the server is willing to accept.

warningLast verified 2026-11-08RFC 9110: HTTP Semantics
Quick answer

The request body is larger than the server is willing to accept.

Code413
ProductHTTP
Company / originIETF / IANA · International standard
CategoryProtocols & Standards
Platform / versionsHTTP/1.1, HTTP/2, HTTP/3 · All HTTP versions
Severitywarning
Official sourceRFC 9110: HTTP Semantics ↗
Last verified2026-11-08

What does HTTP error 413 mean?

HTTP 413 means the server rejected the request because the body exceeds a configured limit. The limit may be enforced by the application, Nginx, a load balancer, or an API gateway. RFC 9110 uses the name Content Too Large; older documentation often says Payload Too Large.

Common causes

  • Uploading a file or JSON body above the server's client_max_body_size or API limit.
  • Sending a large batch in one request instead of paginating or chunking.
  • A proxy has a smaller body limit than the application.

How to fix it

  1. Step 1

    Check every limit in the chain: application, API gateway, reverse proxy, and CDN.

  2. Step 2

    Compress the payload, split it into batches, or upload large files in chunks.

  3. Step 3

    Raise the limit only after confirming the server has enough memory and disk to handle the larger body.

When to escalate

Before you escalate: If the same status persists after you have checked the request, the server logs, and the upstream service, contact the API or hosting provider with the full response headers, request ID, timestamp, and a minimal reproduction.

Related codes

CodeNameWhat it means
400Bad RequestThe server cannot process the request because the syntax or parameters are invalid.
401UnauthorizedAuthentication is missing, expired, or invalid.
403ForbiddenThe server understood the request but refuses to authorize it.
404Not FoundThe requested resource does not exist at this URL.
405Method Not AllowedThe HTTP method is not allowed for this resource.

Source & verification

This page was checked against RFC 9110: HTTP Semantics on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with IETF / IANA. Always confirm destructive or security-sensitive steps with the official documentation.