length_required
A request with a body arrived using chunked transfer encoding, without declaring its size. The API needs the length up front to reject oversized payloads before buffering them.
| Code | Type | HTTP | Category |
|---|---|---|---|
length_required | invalid_request_error | 411 | Request |
Cause
A request with a body arrived using chunked transfer encoding, without declaring its size. The API needs the length up front to reject oversized payloads before buffering them.
What to do
Send the body with a Content-Length header instead of Transfer-Encoding: chunked.