Base API - Response Codes
| Status | HTTP | Description (EN) | Endpoint |
|---|
0000 | 200 | Success. | All |
4000 | 400 | Invalid request, please check and try again. | All |
4001 | 401 | Unauthorized, please login again. | All |
4100 | 400 | Player name is required. | create-player |
4101 | 400 | Player name is too long (max 100 characters). | create-player |
4102 | 400 | Player username is required. | create-player |
4103 | 400 | Username is too long (max 100 characters). | create-player |
4104 | 400 | Currency is required. | create-player |
4105 | 400 | Currency format is invalid (must be 3 characters). | create-player |
4106 | 400 | Currency not supported. | start-game |
4107 | 400 | Currency does not match user account. | start-game |
4108 | 400 | Invalid language code, must be a 2-letter ISO 639-1 code. | start-game |
4003 | 403 | Access denied, you don't have permission. | All |
4003 | 403 | User account is inactive. | start-game |
4109 | 403 | Agent in the line is inactive. | start-game |
4110 | 403 | Currency not supported by agent in the line. | start-game |
4004 | 404 | Data not found. | All |
4004 | 404 | User not found. | start-game |
4004 | 404 | Game not found. | start-game |
4009 | 409 | Duplicate data, please use different data. | All |
4009 | 409 | User already exists. | create-player |
4029 | 429 | Too many requests, please wait and try again. | All |
5000 | 500 | Internal error, please try again later. | All |
5003 | 503 | System is under maintenance, please try again later. | All |
5004 | 503 | Game is under maintenance, please try again later. | start-game |
Modified at 2026-03-23 13:30:48