Client error

413 413 Payload Too Large

The request body exceeded what the server will accept — almost always a file upload.

Common causes

  • A limit in the web server (client_max_body_size in nginx, LimitRequestBody in Apache) or in PHP (upload_max_filesize, post_max_size).

How to fix it

  • Raise the limit in every layer: application, web server and any proxy or CDN in front. Missing one of the three is why the change "does not work".

See what a site actually returns

Run a live check and read the real status code, headers and timings.

Check a website