API problem types / Requests

HTTP 400 · Bad Request

Malformed Request

https://corplyst.com/problems/malformed-request

What it means

The request body couldn't be read: it isn't valid JSON, or a value has the wrong type (for example text where a number or date is expected).

What to do

Check the request body against the API contract and send it again.

Example response

Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.

{
  "type": "https://corplyst.com/problems/malformed-request",
  "title": "Malformed Request",
  "status": 400,
  "detail": "…"
}

← All problem types