invalid_json
HTTP 400 · Do not retry unchanged — fix the request first
The request body is not valid JSON.
What happened
The body could not be parsed at all, so no field was even looked at.
How to fix it
- Check for a trailing comma, a missing quote or an unescaped line break.
- Send
Content-Type: application/json.
Retrying
Repeating the request unchanged will fail again. Correct the request first — the response tells you which part is wrong.
All error codes: /developers/errors · Machine-readable: llms-full.txt