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
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.