413 Content Too Large

The request body is bigger than the server allows.

4xx · Client error

What it means

The request body is larger than the server is willing or able to process. If the limit is temporary, the server may add Retry-After.

It was called "Payload Too Large" and, before that, "Request Entity Too Large".

Why you're seeing it

  • Uploading a file over the server's limit. nginx defaults to 1 MB (client_max_body_size).
  • Platform limits, such as Cloudflare's 100 MB request body limit on the free plan.
  • Accidentally sending a huge JSON body.

How to fix it

  • Raise the limit at every layer: CDN, proxy, app server and framework.
  • Upload large files in chunks or straight to object storage with a signed URL.

Example response

HTTP/1.1 413 Content Too Large
Content-Type: text/html
Connection: close

<h1>413 Request Entity Too Large</h1>