Errors
Idempotency key conflict
The `idempotency_key_conflict` error: HTTP 422 Unprocessable Content.
The Idempotency-Key was sent before with another request (draft-ietf-httpapi-idempotency-key-header).
| Field | Value |
|---|---|
code | idempotency_key_conflict |
status | 422 Unprocessable Content |
title | Idempotency key conflict |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is idempotency_key_conflict. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/idempotency_key_conflict",
"title": "Idempotency key conflict",
"status": 422,
"code": "idempotency_key_conflict"
}See every error code.