409 Conflict
Session already ended
- Code
session_already_ended- Status
409Conflict- Type
https://errors.clavian.io/session-already-ended
What it means
The session ended before this request reached it, so it cannot be ended, changed or extended again. Nothing was charged twice.
What to do
Read the session again and show how it ended, without retrying. To keep playing, the player starts a new session.
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/session-already-ended",
"title": "Session already ended",
"status": 409,
"code": "session_already_ended",
"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.