Skip to content

invalid_json

HTTP 400 · Invalid JSON

The request body is not valid JSON.

What to do

Serialize the body with a JSON library and send Content-Type: application/json.

Do not retry automatically: the same request will fail the same way.

Example

{
"type": "https://developers.get-fleet.com/errors/invalid_json",
"title": "Invalid JSON",
"status": 400,
"code": "invalid_json",
"detail": "The request body is not valid JSON.",
"request_id": "req_7Hx2mQ9vLk3Pz8Rt1Ws4Yb6N"
}

All error codes · Handling errors