Skip to content

bad_request

HTTP 400bad_requestBad request

The request is malformed: an unknown parameter, a value of the wrong type, a forged cursor or invalid JSON.

Common causes

  • limit outside 1–50
  • an invalid or hand-edited cursor
  • a POST body that is not valid JSON or has more than 100 IDs

What to do

  • Check the errors[] field: each item says which field is wrong.
  • Never build or modify a cursor yourself.
Retry?No, the result will be the same unless the request changes.
Billing0 units.
typehttps://maticna.si/docs/errors/bad_request

Example response

HTTP/1.1 400
Content-Type: application/problem+json
X-Request-Id: req_01JB2Q8X6S7T
{
"type": "https://maticna.si/docs/errors/bad_request",
"title": "Bad request",
"status": 400,
"detail": "The request is malformed: an unknown parameter, a value of the wrong type, a forged cursor or invalid JSON.",
"instance": "/v1/entities/12345679",
"code": "bad_request",
"request_id": "req_01JB2Q8X6S7T",
"errors": [
{
"field": "limit",
"code": "too_big"
}
]
}

All errors

Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si