409 Conflict
Not for a guest
- Code
guest_session- Status
409Conflict- Type
https://errors.clavian.io/guest-session
What it means
The session is a guest’s: a guest plays only on the guest pass they paid for at the counter, so time cannot be put on account, drawn from a wallet or bought at the PC for them.
What to do
Sell the guest another guest pass at the counter, or have them claim their ticket into an account.
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/guest-session",
"title": "Not for a guest",
"status": 409,
"code": "guest_session",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
No endpoint in the OpenAPI document names it yet. It is part of the contract already, so a client can handle it before an endpoint sends it.