ClavianAPI errors
All error codes

409 Conflict

Station reserved

Code
station_reserved
Status
409 Conflict
Type
https://errors.clavian.io/station-reserved

What it means

The station is held for a reservation that starts within the hold window, and the player starting the session is not the one who holds it.

What to do

Offer another station. The player who holds the reservation can start a session here.

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/station-reserved",
  "title": "Station reserved",
  "status": 409,
  "code": "station_reserved",
  "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.