422 Unprocessable Content
Idempotency key used for a different request
- Code
idempotency_key_reused- Status
422Unprocessable Content- Type
https://errors.clavian.io/idempotency-key-reused
What it means
The Idempotency-Key was already used for a request with a different body. A key belongs to one request.
What to do
To retry, send exactly the same body with the same key. For a new request, send a new key, a fresh UUID.
Example
The API answers with status 422 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/idempotency-key-reused",
"title": "Idempotency key used for a different request",
"status": 422,
"code": "idempotency_key_reused",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
29 endpoints in the OpenAPI document name it among their answers.
All 29 endpoints
POST /v1/me/venues/{venueId}/passes/{productId}/purchaseBuy a pass from your walletPOST /v1/me/venues/{venueId}/wallet/online-top-upsTop your wallet up online at a caféPOST /v1/organizations/{organizationId}/passes/products/{productId}/grantStaff grant a passPOST /v1/organizations/{organizationId}/passes/products/{productId}/sellSell a pass to a playerPOST /v1/organizations/{organizationId}/players/{playerId}/id-checksRecord a staff document ID checkPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/adjustmentsCredit or debit a player’s wallet cashPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/refundsRefund a player’s wallet cash to a tenderPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/top-upsTop up a player’s wallet at the counterPOST /v1/organizations/{organizationId}/sessions/{sessionId}/compGrant comp time to a running sessionPOST /v1/organizations/{organizationId}/venues/{venueId}/boot/pcs/{bootPcId}/make-stationMake a new PC a station on the FloorPOST /v1/organizations/{organizationId}/venues/{venueId}/day-closeClose a business dayPOST /v1/organizations/{organizationId}/venues/{venueId}/inventory/adjustmentsCorrect one item by hand, with a notePOST /v1/organizations/{organizationId}/venues/{venueId}/inventory/counts/{countId}/submitSubmit a count: each variance becomes a movementPOST /v1/organizations/{organizationId}/venues/{venueId}/inventory/receiptsReceive a deliveryPOST /v1/organizations/{organizationId}/venues/{venueId}/inventory/usageRecord waste, a staff meal or a supply issuePOST /v1/organizations/{organizationId}/venues/{venueId}/library/{entryId}/installInstall one library app on every PC missing itPOST /v1/organizations/{organizationId}/venues/{venueId}/salesCreate a salePOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/paymentsTake a tender against a salePOST /v1/organizations/{organizationId}/venues/{venueId}/shiftsOpen a shift with a floatPOST /v1/organizations/{organizationId}/venues/{venueId}/shifts/{shiftId}/closeClose a shift with the blind countPOST /v1/organizations/{organizationId}/venues/{venueId}/stations/{stationId}/apps/{entryId}/installInstall one library app on one stationPOST /v1/organizations/{organizationId}/venues/{venueId}/stations/{stationId}/removeRemove a stationPOST /v1/organizations/{organizationId}/venues/{venueId}/stations/{stationId}/unpairUnpair the PC from a stationPOST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/completeTake a kiosk top-up’s money at the deskPOST /v1/station/food-ordersOrder food from the PCPOST /v1/station/passes/{productId}/purchaseBuy a pass from the kioskPOST /v1/station/sales/{saleId}/upiA new UPI request for what a kiosk sale still owesPOST /v1/station/sessions/current/add-timeThe player buys more time at the PCPOST /v1/station/wallet/top-upsAsk for a wallet top-up from the kiosk