HTTP 413

HTTP 413 Payload Too Large — Meaning, Causes & How to Fix

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

Code
413
Name
Payload Too Large
Class
4xx Client Error
Specification
RFC 9110 §15.5.14 (“Content Too Large”)
Cacheable by default
Only with explicit Cache-Control / Expires

What HTTP 413 means

413 means the request body is bigger than the server accepts. RFC 9110 renamed it from “Payload Too Large” to “Content Too Large”. If the limit is temporary, the server may add Retry-After.

Common causes

How to fix it

For site owners

For visitors & developers

SEO impact

No SEO impact: it concerns uploads, not page views.

Example 413 response

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

Related status codes

400 · Bad Request415 · Unsupported Media Type401 · Unauthorized402 · Payment Required403 · Forbidden404 · Not Found405 · Method Not Allowed406 · Not Acceptable

Check or look up another code

Search and filter every code in the HTTP Status Codes tool, browse the full list by class, or read HTTP status codes explained: the complete developer guide.

Open HTTP Status Codes tool →All status codes

Frequently asked questions

What does HTTP 413 mean?

HTTP 413 Payload Too Large is a 4xx Client Error status code. The request body is larger than the server is willing or able to process.

How do I fix 413 in nginx?

Increase client_max_body_size (e.g. client_max_body_size 20M;) in the http, server or location block, then reload nginx. Check PHP or app limits too.

Which specification defines 413?

It is defined in RFC 9110 §15.5.14 (“Content Too Large”).

Is a 413 response cacheable?

Not by default. A 413 response is only stored by caches when it carries explicit freshness information such as Cache-Control: max-age or Expires.

More PAYATE tools