409 idempotency_conflict
- HTTP status
- 409
- Code
idempotency_conflict- Title
- Idempotency conflict
- Meaning
- The Idempotency-Key was used with a different request.
What to do
The Idempotency-Key was already used in the last 24 hours with a different method, path or body. Use a new key for a new request, and the same key only to retry the same request.
Where it comes from
POST /v1/contactsPOST /v1/contacts/batchPOST /v1/segmentsPOST /v1/templatesPOST /v1/templates/{id}/versionsPOST /v1/campaignsPOST /v1/campaigns/{id}/testPOST /v1/campaigns/{id}/schedulePOST /v1/campaigns/{id}/resumePOST /v1/imports/csvPOST /v1/imports/mailchimpPOST /v1/imports/{id}/commitPOST /v1/exports
The response
Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.
{ "type": "https://docs.rhinorelay.com/api/errors/idempotency-conflict/", "title": "Idempotency conflict", "status": 409, "code": "idempotency_conflict", "detail": "The Idempotency-Key was used with a different request.", "requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"}See it
With $BASE and $KEY set as in the quick start:
curl -X POST "$BASE/segments" -H "Authorization: Bearer $KEY" -H 'Idempotency-Key: segment-customers' \ -H 'Content-Type: application/json' -d '{"name":"Customers","definition":{"all":[{"type":"tag","tag":"customer"}]}}'
# Expect 409 idempotency_conflictcurl -X POST "$BASE/segments" -H "Authorization: Bearer $KEY" -H 'Idempotency-Key: segment-customers' \ -H 'Content-Type: application/json' -d '{"name":"Everyone","definition":{}}'