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.