409 Conflict
Already in a session
- Code
already_in_session- Status
409Conflict- Type
https://errors.clavian.io/already-in-session
What it means
The player already has a session that has not ended, at this venue or another. A player has at most one at a time across the Platform.
What to do
Offer to move the running session to this station, or ask the player to sign out of the other one first. Staff can end the other session from the console.
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/already-in-session",
"title": "Already in a session",
"status": 409,
"code": "already_in_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.