Librarika Hubfor developers Test environment
Menu

Problem code

forbidden

Status 403 Forbidden
Type https://api.librarika.dev.raynux.com/problems/forbidden
Title Forbidden
Retry No. The same request gets the same answer until you change it.

What it means

The library's rules do not allow this action, and no more specific code applies. It is the fallback for a permission refusal.

What to do

Do not retry. Read detail to the user, and log request_id if you contact support.

Example

HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
  "type": "https://api.librarika.dev.raynux.com/problems/forbidden",
  "title": "Forbidden",
  "status": 403,
  "code": "forbidden",
  "detail": "You are not allowed to do this.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}

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