| Previous | Next |
| HTTP_E_STATUS_GONE | HTTP_E_STATUS_PRECOND_FAILED |
HTTP_E_STATUS_LENGTH_REQUIRED
HTTP_E_STATUS_LENGTH_REQUIRED maps to HTTP 411 Length Required. The server refuses to accept the request without a defined Content-Length.
What to check
- Verify whether the client sends
Content-Length, chunked transfer coding, or no body at all. - Check that proxies do not remove or alter body framing headers.
- For a known-size payload, send the correct content length; for streaming uploads, confirm that the endpoint supports the framing selected by the client.
RFC 9112: HTTP/1.1 message framing
Looking for a different code? Search another status or error code.