{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.devtools.tools"},{"@type":"ListItem","position":2,"name":"HTTP Status Codes","item":"https://www.devtools.tools/http-status"},{"@type":"ListItem","position":3,"name":"411 Length Required","item":"https://www.devtools.tools/http-status/411"}]}All HTTP status codes
HTTP 411 Length Required
Client ErrorThe server insists on a Content-Length header and the request didn't include one (e.g. chunked uploads it refuses to accept).
Defined in RFC 9110
Common causes
- Chunked transfer encoding to a server/proxy that requires explicit length
How to fix it
Send Content-Length with the request body
Disable chunked encoding in the client for that endpoint
Related status codes
Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.