409 Conflict
No registered player to redeem for
- Code
coupon_no_player- Status
409Conflict- Type
https://errors.clavian.io/coupon-no-player
What it means
A coupon is redeemed for a registered player, and nobody with a registered account is signed in on this PC.
What to do
Ask the player to sign in with their account, or redeem the coupon at the front desk.
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-no-player",
"title": "No registered player to redeem for",
"status": 409,
"code": "coupon_no_player",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/station/coupons/redeemRedeem a coupon at the kiosk