ClavianAPI errors
All error codes

409 Conflict

Already linked

Code
account_already_linked
Status
409 Conflict
Type
https://errors.clavian.io/account-already-linked

What it means

The player’s account already has this provider linked, so there is nothing to link.

What to do

Read the connected accounts again and show it as linked. To use a different account with that provider, unlink it on the web first.

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/account-already-linked",
  "title": "Already linked",
  "status": 409,
  "code": "account_already_linked",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

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