ClavianAPI errors
All error codes

403 Forbidden

ID check required

Code
id_check_required
Status
403 Forbidden
Type
https://errors.clavian.io/id-check-required

What it means

The venue checks a player’s identity before a session starts, and the check its rule asks for has not been done for this player.

What to do

Start the ID check, in the kiosk where the venue offers one, or send the player to the desk. Start the session again once the check is done.

Example

The API answers with status 403 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/id-check-required",
  "title": "ID check required",
  "status": 403,
  "code": "id_check_required",
  "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.