HTTP 4xx

413 Payload Too Large

The request body is larger than the server is willing or able to process, for example an oversized file upload.

4xx Client errorCommonly seen

What causes it

  • An upload exceeds the server or proxy body-size limit.

How to fix it

Raise the limit (client_max_body_size in Nginx, upload_max_filesize in PHP), or have clients upload smaller files.

Example response

A typical raw HTTP response a client receives for a 413, with the headers this code is defined around.

HTTP/1.1 413 Payload Too Large
Connection: close
Content-Type: text/html; charset=utf-8

Know before your visitors do.

Sentinel checks your site around the clock from multiple regions and alerts you the moment it starts returning a 4xx error, so you can fix it before it costs you.