403 Forbidden
Age restricted
- Code
age_restricted- Status
403Forbidden- Type
https://errors.clavian.io/age-restricted
What it means
The station’s class has an age limit, and the player is under it by the date of birth the venue relies on, verified or declared.
What to do
Do not retry on this station. Offer one in a class without the limit.
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/age-restricted",
"title": "Age restricted",
"status": 403,
"code": "age_restricted",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/sessions/{sessionId}/moveMove a running session to another stationPOST /v1/organizations/{organizationId}/venues/{venueId}/sessionsAssign a player to a stationPOST /v1/station/sessionsStart a session from the PC the player signed in on