ClavianAPI errors
All error codes

403 Forbidden

The profile can no longer be finished here

Code
profile_window_closed
Status
403 Forbidden
Type
https://errors.clavian.io/profile-window-closed

What it means

Finishing a new account’s profile at a kiosk is allowed only from the station that created it, for a short time after, and only for what the account still lacks. The grant is unknown, expired or used from elsewhere.

What to do

Carry on without it: the player can finish their profile later in the app or on the web.

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/profile-window-closed",
  "title": "The profile can no longer be finished here",
  "status": 403,
  "code": "profile_window_closed",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

From the OpenAPI document, every endpoint that names it among its answers: