422 Unprocessable Content
Not a base game
- Code
not_a_base_game- Status
422Unprocessable Content- Type
https://errors.clavian.io/not-a-base-game
What it means
The chosen title does not resolve to a base game the catalogue can mirror: it has no base-game root, or the base game has no cover art.
What to do
Pick a base game from the search results rather than an edition, a DLC or a bundle.
Example
The API answers with status 422 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/not-a-base-game",
"title": "Not a base game",
"status": 422,
"code": "not_a_base_game",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/hq/catalogue/gamesMirror a base game into the cataloguePOST /v1/hq/catalogue/games/{id}/refreshRefresh a mirrored game from IGDB