Error codes · Keys and signatures

Replay detected

Codereplay_detected
Status409
If this was an orderMay still complete — resume with the same id
Send it again unchanged?Yes — see What to do
.NET SDKReplayDetectedException

The order may still complete

Resume it with the same operation id and the same body. A new operation id can buy the cards a second time.

What it means

The request reused a nonce your application had already used. The SDKs make a fresh nonce for every attempt, so this usually means something between you and Anis — a proxy, a load balancer or an automatic retry — sent the same request twice. This copy was refused; the copy that arrived first may have been processed.

What to do

  • On an order: the first copy may have bought the cards. Resume with the SAME operation id and the same body — never a new id.
  • On any other call: send it again. A new signature carries a new nonce.
  • Find what re-sends your requests and switch it off for Anis calls.

Where you can meet it

Example

The body of the refusal. Its type is the address of this page.

{
  "type": "https://developers.anis.ly/errors/replay-detected",
  "title": "Replay detected",
  "status": 409,
  "code": "replay_detected",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}