Librarika Hubfor developers Test environment
Menu

Problem code

bad_request

Status 400 Bad Request
Type https://api.librarika.dev.raynux.com/problems/bad_request
Title Bad request
Retry Only after you fix the cause.

What it means

The request could not be read: a body that is not parseable, or a parameter of the wrong type.

What to do

Fix the request. Send JSON bodies with Content-Type: application/json (application/merge-patch+json on PATCH).

Example

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
  "type": "https://api.librarika.dev.raynux.com/problems/bad_request",
  "title": "Bad request",
  "status": 400,
  "code": "bad_request",
  "detail": "The request could not be read.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}

The type URI https://api.librarika.dev.raynux.com/problems/bad_request is this page. The detail above is an example of the English text; it is translated into the request's language and may change, so match on code, never on detail.

All problem codes · Errors