Error codes
Errors / Idempotency key was already used with a different request
Idempotency key was already used with a different request
- Code
idempotency_key_reused- HTTP status
- 409
- Where you see it
-
An error answer (
application/problem+json)
How to fix it
Tip
Use a new Idempotency-Key for a different request, or resend exactly the same body.
What the answer looks like
Every error is application/problem+json (RFC 9457). Read the code, not the
title or detail text, which may change. Keep the request_id
when you contact support.
The detail says which case it is; there are 3:
The same Idempotency-Key is sent again with another body, to POST /v1/deposits or POST /v1/withdrawals.
Error 409 (JSON)
{
"type": "https://docs.no1paytest.com/errors/idempotency_key_reused",
"status": 409,
"code": "idempotency_key_reused",
"title": "Idempotency key was already used with a different request",
"detail": "This Idempotency-Key was already used with a different request body.",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}
The same Idempotency-Key ended this test deposit with another outcome.
Error 409 (JSON)
{
"type": "https://docs.no1paytest.com/errors/idempotency_key_reused",
"status": 409,
"code": "idempotency_key_reused",
"title": "Idempotency key was already used with a different request",
"detail": "This Idempotency-Key already simulated another outcome for this deposit.",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}
The same Idempotency-Key ended this test withdrawal with another outcome.
Error 409 (JSON)
{
"type": "https://docs.no1paytest.com/errors/idempotency_key_reused",
"status": 409,
"code": "idempotency_key_reused",
"title": "Idempotency key was already used with a different request",
"detail": "This Idempotency-Key already simulated another outcome for this withdrawal.",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}