Application error codes
The following table shows a list of authorization errors, and their corresponding application error codes.
| HTTP error code | Description | Application error code | Error message |
|---|---|---|---|
| 500 | An unexpected condition prevented the internal server from processing the request. | 480 | Error code - 480 Authentication failed. Please contact support. |
| 500 | An unexpected condition prevented the internal server from processing the request. For example, there was an unsuccessful attempt to generate an access token or no connection to the database server. | 485 | Error code - 485 Authentication failed. Please contact support. |
| 401 | An invalid refresh token was used. Tokens are digital credentials allowing applications to be authenticated and authorized. | 486 | Error code - 486 Authentication failed. Please contact support. |
| 500 | A unique token could not be generated. Tokens are digital credentials allowing applications to be authenticated and authorized. | 488 | Error code - 488 Authentication failed. Please contact support. |
| 401 | Access denied because an invalid username or password was provided by the user. | 489 | Error code - 489 Invalid username or password. Please try again. |
| 401 | Access denied because an invalid one-time password (OTP) was provided by the user. | 497 | Error code - 497 Incorrect code. |
| 400 | An invalid phone number was provided by the user. | 498 | Error code - 498 Incorrect phone number. |
| 401 | Access denied for one of the following reasons: 1. The account is blocked 2. The account has not been assigned a tariff plan | 490 | Error code - 490 Access denied, user account disabled. Please contact support. |
| 401 | Access denied because the device does not have a profile. Each device linked to an account must have a profile. | 491 | Error code - 491 Access is denied for this type of device. Please contact support. |
| 401 | Access denied because the maximum number of devices streaming content at the same time was reached. Read about creating tariff plans | 492 | Error code - 492 Device limit reached. Please contact support. |
| 401 | Access denied for one of the following reasons: 1. Missing authorization header 2. The access token format was incorrect or could not be verified 3. The access token was revoked or has expired 4. The device is blocked or the connection was rejected due to tariff plan restrictions | 493 | Error code - 493 Access denied. Please contact support. |
| 401 | Access denied for one of the following licensing reasons: 1. No free licences 2. A communication error with the licence server | 494 | Error code - 494 Access denied. Please contact support. |
| 500 | An unexpected condition without a specific error code (error.code) prevented the internal server from processing the request. | 495 | Error code - 495 Authentication failed. Please contact support. |
| 500 | An unexpected condition without a specific error message ID (error.messageId) prevented the internal server from processing the request. | 496 | Error code - 496 Authentication failed. Please contact support. |