Skip to main content

invalid_json

The request body is not valid JSON

Status: 400 Bad Request

type: https://api.allisai.ai/errors/invalid_json

When it is sent​

The body does not parse, is not one JSON object, or has bytes after the object. Send one JSON object, encoded in UTF-8.

Example​

{
"type": "https://api.allisai.ai/errors/invalid_json",
"title": "The request body is not valid JSON",
"status": 400,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "invalid_json",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}

Operations that return it​

Any operation can return this code.