idempotency_key_mode_conflict
Idempotency-Key used in the other mode
HTTP 409
This Idempotency-Key belongs to the other mode (live or test). Keys are per mode: the same key sent with a live key and a test key makes two records. But a key already held by a record of the other mode can't replay it, and a live key can't send a key that starts with test:, which names a test key's request. Nothing is written; send a new key.
The problem body
Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.
{
"error": "Idempotency-Key used in the other mode",
"code": "idempotency_key_mode_conflict",
"type": "https://secondappraisal.com/developers/errors/idempotency_key_mode_conflict",
"title": "Idempotency-Key used in the other mode",
"status": 409,
"detail": "Idempotency-Key used in the other mode",
"instance": "/api/gap/v1/referrals",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/referrals · HTTP 409 · Create a referral