The request body is larger than the server is willing to process.
413 Content Too Large (formerly "Payload Too Large" and "Request Entity Too Large") means the body exceeds a server limit. If the limit is temporary, the server can send Retry-After. Many servers close the connection after a 413 because the rest of the body would otherwise have to be read.
client_max_body_size, which defaults to only 1 MB ("413 Request Entity Too Large").LimitRequestBody; PHP upload_max_filesize/post_max_size (PHP usually reports these differently, but proxies return 413).nginx.ingress.kubernetes.io/proxy-body-size.| Header | Role |
|---|---|
Retry-After | Only if the condition is temporary. |
Connection | Often close. |
HTTP/1.1 413 Content Too Large
Server: nginx
Content-Type: text/html
Connection: close
<title>413 Request Entity Too Large</title>