Librarika Hubfor developers Test environment
Menu

Problem code

idempotency_key_required

Status 400 Bad Request
Type https://api.librarika.dev.raynux.com/problems/idempotency_key_required
Title Idempotency key required
Retry With an Idempotency-Key.

What it means

Every POST needs an Idempotency-Key header, verb actions such as cancel included.

What to do

Send a new unique key (a UUID v7 is recommended) for each operation, and the same key when you retry it. See Idempotency.

Example

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
  "type": "https://api.librarika.dev.raynux.com/problems/idempotency_key_required",
  "title": "Idempotency key required",
  "status": 400,
  "code": "idempotency_key_required",
  "detail": "An Idempotency-Key header is required. Send a new unique value (a UUID) for each operation, and the same value when you retry it.",
  "request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}

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