ClavianAPI errors
All error codes

422 Unprocessable Content

The export could not be read

Code
migration_file_unreadable
Status
422 Unprocessable Content
Type
https://errors.clavian.io/migration-file-unreadable

What it means

The uploaded file is larger than the limit, is neither CSV nor XLSX, is damaged, or has more rows than one migration takes; detail says which, and nothing in it was kept.

What to do

Export the players again as CSV (or XLSX, first sheet), check it opens in a spreadsheet, and upload that.

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/migration-file-unreadable",
  "title": "The export could not be read",
  "status": 422,
  "code": "migration_file_unreadable",
  "requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}

Endpoints that return it

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