API problem type
Idempotency key mismatch
- Code
- idempotency_key_mismatch
- Type URI
- https://industrydojo.com/developers/problems/idempotency-key-mismatch
- HTTP status
- 422
Errors use RFC 9457 problem details (application/problem+json). Branch on the code, never on the title or detail text.
Example from the contract
{
"type": "https://industrydojo.com/developers/problems/idempotency-key-mismatch",
"title": "Idempotency key mismatch",
"status": 422,
"code": "idempotency_key_mismatch",
"detail": "The Idempotency-Key was already used for a different request within the replay window.",
"request_id": "req_01JBEXAMPLE422K",
"errors": [
{
"pointer": "/header/Idempotency-Key",
"code": "idempotency_key_mismatch",
"detail": "Send a new key for a new request."
}
]
}