Error Code Description
Different error codes correspond to different error messages, allowing developers to quickly identify issues.
The error codes defined here refer to the error codes returned by the 2J provided API interfaces
Error Code | Error Message | Description/Handling |
---|---|---|
0 | Success | Request successful |
100000 | Parameter Error | Parameter error, please check against the interface documentation or contact 2J technical staff |
100404 | UnClassified Error | Undefined business error or abnormal HTTP request (e.g., no Content-Type). If the problem cannot be excluded, please contact 2J technical staff |
500000 | Service Error | Need to contact 2J for processing |
500001 | Account Does Not Exist | OP user not created or creation failed in 2J. Need to reinitiate user creation |
500002 | Account Already Exists | Duplicate user creation, no action needed |
500004 | Invalid Token | User token expired in 2J, need to obtain game link again |
500005 | Invalid Game Link | Failed to get game link. Need to retry or contact 2J to check if the game is configured |
500006 | Asset Update Failed | Currently not in use |
500007 | Already In Game | Currently not in use |
500008 | Invalid Signature | Signature error, please check the signature algorithm or key |
500009 | Forbidden to request | Has no permission to request this API, please contact 2J |
500101 | Duplicate Transfer Order Number | In Transfer Wallet mode, withdrawal and deposit interfaces show this error. OP needs to determine whether to retry with a new order number |
500102 | Withdrawal Locked | In Transfer mode, withdrawal interface does not allow withdrawal operations while player is in game; Only one withdraw transaction is allowed at the same time |
500103 | Withdrawal Failed, Insufficient Balance | In Transfer mode, withdrawal interface shows this error. |