err:user:bad_request:request_body_unreadableExample response
Likely causes
- Your client disconnected mid-upload.
- The
Content-Lengthheader doesn’t match the bytes sent. - A proxy between you and
api.unkey.comcut the body short. - On a Compute route with an OpenAPI validation policy, the body didn’t arrive within 30 seconds.
How to fix
- Retry the request.
- If it keeps failing, make sure your HTTP client sends the full body with a correct
Content-Lengthand doesn’t close the connection early on a slow network. - Check that any proxy or gateway in between forwards the body unchanged.
Related errors
err:user:bad_request:request_body_too_large: the body exceeded the size cap.err:user:bad_request:client_closed_request: the client disconnected while the request was being processed.