HTTP 413 Content Too Large

The request body is larger than the server allows.

Updated

413
Content Too Large
4xx Client error
Class
RFC 9110 §15.5.14
Defined in

What does HTTP 413 mean?

The request body is larger than the server allows. Formerly “Payload Too Large”. Nginx returns it when an upload exceeds client_max_body_size (1 MB by default), and PHP-based sites when upload_max_filesize or post_max_size is too small.

4xx Client error: The request has a problem the client can fix: wrong URL, missing credentials, bad data or too many requests.

Common causes of a 413 error

  • Uploading a file larger than the configured limit.
  • Nginx default client_max_body_size 1m.

How to fix 413 Content Too Large

  • Compress or resize the file before uploading.
  • Raise client_max_body_size in Nginx or LimitRequestBody in Apache, and PHP’s upload limits.

413 and SEO

Not relevant for crawling.

Example response

HTTP/1.1 413 Content Too Large

Related status codes

Check which status code a URL returns with the HTTP header checker.

All HTTP status codesSearch the full list of status codes from 100 to 599 with their meanings and SEO impact.
Open the full list

Frequently asked questions

What does status code 413 mean?
413 Content Too Large: The request body is larger than the server allows.
How do I fix a 413 error?
Compress or resize the file before uploading. Raise client_max_body_size in Nginx or LimitRequestBody in Apache, and PHP’s upload limits.
Does 413 affect SEO?
Not relevant for crawling.