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
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/venues/{venueId}/sessionsAssign a player to a stationPOST /v1/station/sessionsStart a session from the PC the player signed in onPOST /v1/station/sign-in/ticketStart a guest session on this PC with a ticket code