Librarika Hubfor developers Test environment
Menu

Problem code

not_acceptable

Status 406 Not Acceptable
Type https://api.librarika.dev.raynux.com/problems/not_acceptable
Title Not acceptable
Retry Only after you fix the cause.

What it means

The Accept header asks for a response format the API cannot produce. The API answers JSON.

What to do

Send Accept: application/json (problems are application/problem+json), or no Accept header.

Example

HTTP/1.1 406 Not Acceptable
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
  "type": "https://api.librarika.dev.raynux.com/problems/not_acceptable",
  "title": "Not acceptable",
  "status": 406,
  "code": "not_acceptable",
  "detail": "The requested response format is not available.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}

The type URI https://api.librarika.dev.raynux.com/problems/not_acceptable 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