Errors

General errors

Statuscode < 200 || statuscode >= 300

Extended format

[
    {
        "code": "missing_field",
        "field": "username",
        "message": "Field username was not sent"
    },
    {
        "code": "missing_field",
        "field": "password",
        "message": "Field password was not sent"
    },
    {
        "code": "missing_field",
        "field": "client_id",
        "message": "Field client_id was not sent"
    },
    {
        "code": "missing_field",
        "field": "device_name",
        "message": "Field device_name was not sent"
    },
    {
        "code": "missing_field",
        "field": "device_id",
        "message": "Field device_id was not sent"
    }
]

Simple format

Simple format is also supported.

{
    "code": "invalid_endpoint",
    "message": "This endpoint doesn't exist"
}

Error codes

Error codes are always strings. Special error codes are listed with their endpoint documentation.

Error code Description
missing_field field missing, given in field.
api_version_not_supported The API version in the X-VERSION header is not supported
language_not_supported The language in the Accept-Language HTTP header is not supported
expired_access_token Expired access token
invalid_access_token Invalid access token (e.g. when the token is already renewed, but the old one is still used)
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable