ClavianAPI errors
All error codes

409 Conflict

Coupon already redeemed by this player

Code
coupon_already_redeemed
Status
409 Conflict
Type
https://errors.clavian.io/coupon-already-redeemed

What it means

The player has already redeemed as many coupons of this batch as one player may.

What to do

Say the player has already redeemed this coupon.

Example

The API answers with status 409 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/coupon-already-redeemed",
  "title": "Coupon already redeemed by this player",
  "status": 409,
  "code": "coupon_already_redeemed",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

From the OpenAPI document, every endpoint that names it among its answers: