idempotency.key_reused
The idempotency key was reused with different input
- HTTP status
- 422
- Problem type
https://api.field-viewer.com/problems/idempotency.key_reused- Catalogue
- Generic (any operation)
What it means
The Idempotency-Key was already used for a request with a different body or parameters.
What to do
Generate a new key for every new request. Reuse a key only to retry the exact same request.
Example response
Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.
HTTP/1.1 422
Content-Type: application/problem+json
{
"type": "https://api.field-viewer.com/problems/idempotency.key_reused",
"title": "The idempotency key was reused with different input",
"status": 422,
"detail": "The idempotency key was reused with different input",
"instance": "/v1/context",
"code": "idempotency.key_reused",
"requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}
Returned by
No operation declares this code in its contract. The API can return it for any request, for example from the request pipeline before an operation runs.