Errors are grouped into 3 categories, authorization errors, input errors, conflict errors, and unexpected errors.
These are errors related to invalid player or user authorization and permission.
Code | Status | Message | Description |
---|---|---|---|
40000 | 403 | IP is not allowed to access | User IP address is not a whitelisted IP. |
40001 | 403 | Insufficient permission | The group in which the user belongs to does not own the privilege/permission to access the API. |
40002 | 401 | Session expired | JWT session has expired or JWT token is no longer valid. |
40004 | 401 | Player unavailable | Player's status is set to inactive. |
40005 | 404 | Not found | Global not found error. |
40006 | 401 | Player suspended | Player's status is set to suspended. |
40007 | 401 | Secure PIN required | Player needs to input or pass the secure PIN authentication. |
Data input errors
Code | Status | Message | Description |
---|---|---|---|
40003 | 400 | Bad request | Global bad request error. |
Most expected errors are within the scope of this group.
Code | Status | Message | Description |
---|---|---|---|
40011 | 409 | Redemption has already been processed | Accepting or rejecting a processed redemption. |
40012 | 409 | Can't approve redemption if the transaction is not approved. | Approving a redemption on a transaction that is not approved. |
40013 | 409 | Can't launch game due to bonus restrictions. Only allowed to play the following games: [CATEGORY_PROVIDER] | Launching a game with an active redemption restriction. Usually on a bonus with a redemption type of before turnover |
40014 | 409 | Game is on maintenance. | The game being launched is on an inactive status or in a maintenance. |
40015 | 409 | Bonus quota has run out. | Approving a bonus whose redemption limit has been reached. |
40110 | 409 | Invalid image format | Uploading an invalid image format. |
40021 | 409 | Membership has already exist for this player. | Membership has already exist for this player. |
40030 | 409 | Pending transaction exist, cannot create another transaction form. | Creating a transaction form when a player has another pending form. |
40031 | 409 | Payment amount is less than or more than required payment account. | The amount in payment transaction is not between the required amount for the operator account. |
40032 | 409 | You have a running bonus. Cannot create a withdrawal transaction. | Creating a withdrawal transaction when a player is on a running bonus. |
40033 | 409 | Duplicate payment account number. | Creating a duplicate payment account number. |
40034 | 409 | Duplicate payment group name | Creating a duplicate payment group name. |
40035 | 409 | Player has not migrated yet. Please migrate first | An action require the player to migrate their account. |
40036 | 409 | Duplicate payment group added. | A payment group with the same payment provider exist. |
40037 | 409 | There are no payment accounts with enough limit. | Unable to create deposit to this account. Please contact support. |
40038 | 409 | Payment provider is disabled. | Creating a payment transaction on a disabled payment provider. |
40039 | 409 | Credit Is running out. | Operator credit has run out. Please contact the system administrator. |
40310 | 409 | Player create transaction without player payment account. | Invalid Player Payment Account. Please contact the system administrator. |
40311 | 409 | maximumAmount greater than maxAccumulatedTransaction. | Max amount cannot greater than max quota. |
40041 | 409 | Username has been taken | Player registration with an existing player ID. |
40042 | 409 | Email has been taken | Player registration with an existing email address. |
40044 | 409 | Age restriction error. | Player registration with age selected under 18 years old. |
40046 | 403 | Bonus redemption error due to redemption restriction | Redeeming bonus restriction error. |
40047 | 404 | Player is not registered | Player can't be found when fetching a player detail. |
40048 | 409 | Duplicate phone number found | Player registration with an existing phone number. |
40049 | 409 | Invalid phone number | Invalid phone number format. |
40061 | 409 | Rebate has already been released | Releasing a released rebate transaction. |
40062 | 409 | Referral has already been released | Releasing a released referral transaction. |
40070 | 500 | Redis round data not found | When a round data can't be found in the Redis with the following pattern: RD:player:provider:roundId. |
40071 | 500 | Redis deduct round data not found | When a round data in Redis is found but does not contain any deduct transaction data required on end round. |
40072 | 500 | Redis settle round data not found | When a round data in Redis is found but does not contain any settle transaction data on end round. |
40090 | 409 | Insufficient balance error | Balance is not sufficient for an action requring balance deduction. |
40091 | 409 | Withdrawal is locked | Withdrawal can be locked when operator choose to disable withdrawal after pulsa deposit and before a certain amount of turnover has been reached. |
40410 | 409 | Invalid password | Player input an invalid password when resetting the password. |
40411 | 409 | Invalid reset password token | Resetting password using an invalid reset password token. |
40412 | 409 | Invalid transfer token. Please relogin | Transfer token cannot be found or invalid when migrating player. |
40413 | 409 | Player has migrated. Please relogin | Player has migrated but attempted to transfer account again |
40414 | 409 | Player is disabled. Please contact support | Player is disabled from the backoffice. |
40415 | 409 | Player is suspended and unable to do this operation. | Player is suspended. Please contact support. |
40900 | 409 | Data already exist | Global duplication error. |
A source of an unhandled errors can be identified by the code. Each service has its own code identifier. These errors are logged and will trigger error to GCP alerts.
Code | Status | Message |
---|---|---|
500 | 50000 | Activity log error |
500 | 50001 | Game service error |
500 | 50002 | Membership service error |
500 | 50003 | Payment service error |
500 | 50004 | Player service error |
500 | 50005 | Portal service error |
500 | 50006 | Promotion service error |
500 | 50007 | Report service error |
500 | 50008 | User service error |
500 | 50009 | Wallet service error |
500 | 50010 | Bonus service error |
500 | 50011 | System service error |