All tools / Debug tools / Status codes
HTTP 413 Content Too Large
The request body is bigger than the server allows. (Formerly “Payload Too Large”.)
This page runs in your browser and makes no requests.
413 Content Too Large
The request body is bigger than the server allows. (Formerly “Payload Too Large”.)
Common causes
Uploading a big file; nginx's default client_max_body_size is 1 MB; a CDN or proxy upload limit.
What to do
Raise the limit (client_max_body_size in nginx, LimitRequestBody in Apache, the CDN's plan limit) or upload in chunks.
Class: 4xx Client error · Defined in RFC 9110 §15.5.14
How to use it
- Look at the response in your browser's Network tab, or run
curl -i URLto see the status line and headers. - Read the response body: many servers explain the exact reason there.
- Fix the cause above and send the request again.
Questions
Is 413 an error?
Yes: it is a client error, which means the request needs to change. The server is working as designed.
Should I retry a 413?
No. Sending the same request again will give the same answer. Change something first.
Where can I see the 413 in my browser?
Open the developer tools (F12 or Cmd+Option+I), go to the Network tab, reload, and look at the Status column. Click the request and open the Response and Headers tabs for the details.
