Skip to content
Ledenboek Developers

Error codes

idempotency_key_reused

Idempotency-Key already used · HTTP 422

When you get this error

You sent an Idempotency-Key that was already used for a different request, with a different path or body.

What to do

Use a new key for every new request. The same key only belongs with a repeat of exactly the same request.

Example

application/problem+json
{
  "type": "https://developers.ledenboek.nl/errors/idempotency_key_reused",
  "title": "Idempotency-Key already used",
  "status": 422,
  "detail": "This Idempotency-Key was already used for a different request. Use a new key for every new request.",
  "instance": "/v2/members"
}

The type field is the same in every language; title and detail follow Accept-Language. Build your error handling on type.

All error codes