Invalid JSON
HTTP 400invalid_json
When the API answers 400 invalid_json, and how to fix it.
Version v1.1, updated
The type field of every invalid_json response links to this page.
On this page
The body is not valid JSON, so BIRP could not read it. Nothing was written.
At a glance
Status: 400 Bad Request
Code:
invalid_jsonRetry: No. Fix the cause first: the same request gets the same answer.
Causes and fixes
400 invalid_jsonJSON
{
"code": "invalid_json",
"detail": "The request body is not valid JSON.",
"instance": "/v1/categories",
"request_id": "a1b2c3d4-0000-4000-8000-0000000000ee",
"status": 400,
"title": "Invalid JSON",
"type": "https://birp.io/developers/errors/invalid_json"
}Related
- requests
- unsupported-media-type
- errors-overview