@http · HTTP status codes, explained HTTP/1.1 413 Content Too Large ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4xx · Client error The request body is bigger than the server allows. WHAT IT MEANS ──────────────────────────────────────────────────────────── The request body is larger than the server is willing or able to process. If the limit is temporary, the server may add Retry-After. It was called "Payload Too Large" and, before that, "Request Entity Too Large". WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → Uploading a file over the server's limit. nginx defaults to 1 MB (client_max_body_size). → Platform limits, such as Cloudflare's 100 MB request body limit on the free plan. → Accidentally sending a huge JSON body. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Raise the limit at every layer: CDN, proxy, app server and framework. → Upload large files in chunks or straight to object storage with a signed URL. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 413 Content Too Large Content-Type: text/html Connection: close  

413 Request Entity Too Large

 related 411 Length Required   414 URI Too Long   431 Request Header Fields Too Large spec RFC 9110 §15.5.14 https://www.rfc-editor.org/rfc/rfc9110#section-15.5.14 web https://athttp.com/413 ← curl athttp.com/412 curl athttp.com/414 →