400 Malformed request
The request body was not valid JSON.
What causes it
- The body was empty, truncated, or not JSON at all.
- A `content-type: application/json` header was sent with a non-JSON body.
How to fix it
- Check that your client is serializing the body, not sending an object directly.
- With curl, make sure `-d` is quoted so the shell does not mangle the braces.
What it looks like
{
"type": "https://snakereach.com/errors/invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request body was not valid JSON."
}