All status codes

4xx Client errors

413 Content Too Large

The request body is bigger than the server accepts.

Common causes

  • Uploading a file over the size limit.

How to fix it

  • Raise the limit (e.g. client_max_body_size in nginx, upload_max_filesize in PHP) or upload smaller files.
Full troubleshooting guide413 Request Entity Too Large: raise upload limits in nginx, PHP and moreUploads fail with 413 when any layer's size limit is hit. The defaults for nginx, Apache, PHP, Node and Cloudflare, and how to raise them safely.

Find out the moment your site returns 413

Spot Downtime monitors count this as down and alert you, since visitors see an error. (The public “Is it down?” checker treats 4xx answers from big sites as online, because many refuse automated requests.)