4xx Client error

HTTP 413 Content Too Large

The request body is larger than the server is willing or able to process. It was called “Payload Too Large” and, before that, “Request Entity Too Large”. If the limit is temporary, the server may say when to try again in a Retry-After header.

Defined in RFC 9110, section 15.5.14(opens in a new tab)

Is 413 up or down for a monitor?

Uptimecheck HTTP monitor

Default settings

Down

Down. It is outside the default 200–399 range, so a monitor reports an outage once a second check confirms it. If 413 is the answer you expect from that URL, add it to the monitor’s expected status codes.

Is it down? checker

Free, at /is-it-down/

Up

Up. The checker counts any answer below 500 as the site answering: a 413 comes from a server that is running.

Why you see 413 and what to do

Typical causes

  • An upload over the web server’s limit: nginx’s client_max_body_size is 1 MB unless it is raised.
  • Limits at a CDN or load balancer in front of the server.

If you run the site

  • Raise the limit at every layer that has one (proxy, web server, application), or upload large files straight to storage.
  • Tell people the size limit next to the upload field.

If you’re a visitor

  • Upload a smaller file, or compress it first.

Know the moment your site stops answering as it should

An Uptimecheck monitor requests your page as often as every minute, checks the status code against the ones you expect, confirms a failure with a second check and then alerts you.

14-day free trial · No credit card required

Questions

What does HTTP 413 mean?

The request body is larger than the server is willing or able to process. It was called “Payload Too Large” and, before that, “Request Entity Too Large”. If the limit is temporary, the server may say when to try again in a Retry-After header.

Does an uptime monitor count 413 as down?

Down. It is outside the default 200–399 range, so a monitor reports an outage once a second check confirms it. If 413 is the answer you expect from that URL, add it to the monitor’s expected status codes.

Downtime is obsolete.

Set up your first monitor in under a minute, or look around the live demo first.

14-day free trial · No credit card required