Skip to main content

Appendix

This page lists all possible error codes and their Descriptions in the Seamless Wallet API.

Status Code Overview

CodeResponse MessageDescriptionRelated APIs
0No errorRequest SuccessfulAll APIs
5Game is not foundGame does not exist or has been removedOpen Game, Query Bet Logs & Reports, Query Bet Details, Query Bet Replay
6The username already existPlayer Account already existsCreate Player
7Internal server errorInternal system errorAll APIs
8The User is not existPlayer does not existOpen Game, Query Bet Details
10Agent code was not found or blockAgent does not exist or is blockedGet Access Token
11Parameters errorParameters errorAll APIs
14The BetId is not existQuery Bet Logs & Reports does not existQuery Bet Details, Query Bet Replay
19Invalid accountInvalid accountOpen Game
77Too many request, please try again laterToo many requestsQuery Bet Logs & Reports, Query Daily Report, Query player report
81Branch config not foundBranch configuration not foundOpen Game, Query Bet Logs & Reports
82Please check Site ID is for this playerSite ID does not match PlayerOpen Game
83Signature verification failedSignature verification failedAll APIs requiring authentication
84Encryption failedEncryption failedAll APIs requiring encryption

Error Code Categories

Success Codes

CodeDescription
0Request Successful, no errors

Player Management Errors

CodeDescriptionPossible CauseHandling Suggestion
6Player Account already existsAttempted to Create Player with an already registered Player AccountUse another Player Account
8Player does not existQuerying or operating on a non-existent PlayerConfirm Player ID or Player Account is correct, call Create Player API first
19Invalid Player AccountPlayer Account format error or abnormal StatusCheck Player Account format and Status
20Player Wallet temporarily lockedPlayer Wallet temporarily locked for some reasonTry again later or Contact Customer Support Team

Game Management Errors

CodeDescriptionPossible CauseHandling Suggestion
5Game does not existUsing an invalid game code or the game has been removedConfirm the game code is correct, check if the game supports the current currency
82Site ID MismatchSite ID does not correspond to PlayerContact Customer Support Team, provide logUUID

Query Bet Logs & Reports Errors

CodeDescriptionPossible CauseHandling Suggestion
14Query Bet Logs & Reports does not existQuerying a non-existent Query Bet Logs & Reports or incorrect txTimeConfirm betId and txTime parameters are correct

System-level Errors

CodeDescriptionPossible CauseHandling Suggestion
7Internal system errorInternal server errorContact Customer Support Team, provide logUUID
10Agent errorIncorrect Agent ID or secret, or Agent is blockedCheck Authentication information, contact administrator to confirm Status
11Parameters errorMissing request parameters, incorrect format, or non-compliance with requirementsCheck all required parameters and formats
77Too many requestsToo many requests sent in a short periodReduce request frequency, try again later
81Branch configuration not foundMissing system configurationContact Customer Support Team
83Signature verification failedIncorrect signature calculation or incorrect request headerCheck signature generation logic and request header
84Encryption failedIncorrect encryption key or incorrect encryption methodCheck encryption configuration and implementation

10 - Agent Error

Occurs in the /v2/auth API, possible causes:

  1. Agent ID does not exist: Used an unregistered Agent ID
  2. Incorrect secret: The secret parameter after decryption does not match the Agent ID
  3. Agent blocked: Agent ID has been deactivated by the system

Handling Suggestion:`

  • Confirm Agent ID and secret are correct
  • Contact Customer Support Team to check Agent Status
  • Check if x-agentid request header is consistent with agentId in the body

83 - Signature Verification Failed

This is the most common Authentication error, which may be caused by the following reasons:

  1. Incorrect signature string combination order

    • The correct order should be: agentId + secret + timestamp + nonce + cipherText
    • Use SHA256 (not HMAC-SHA256) for hashing
  2. Timestamp verification failed

    • Operator and server time difference exceeds the allowed range (usually ±1 minute)
    • Incorrect timestamp format (should be a 13-digit millisecond timestamp)
  3. Nonce verification failed

    • Used a duplicate nonce value (each request must be unique)
  4. Missing or incorrect request headers

    • Missing required headers: x-agentid, x-timestamp, x-nonce, x-signature
    • Header values are inconsistent with the values used for actual signature calculation

Handling Suggestion:`

  • Refer to Get Access Token Overview to check the signature generation logic
  • Ensure server time synchronization (using NTP)
  • Generate a new nonce for each request
  • Confirm all request headers are correctly set

84 - Encryption Failed

Encryption/decryption related errors:

  1. Incorrect encryption method: Must use AES-256-GCM
  2. Incorrect key: Incorrect encryption key configuration
  3. Incorrect data format: Incorrect data format before encryption

Handling Suggestion:`

  • Check if the encryption implementation uses AES-256-GCM
  • Confirm the encryption key is correct
  • Refer to the encryption example in Get Access Token Overview

Transaction Status Code

After the Operator API receives a platform request, the status Field in the response format represents the transaction result.

StatusDescription
0000Success
9999Failed
1006Invalid session
2000Transaction ID not found
2001Transaction ID already exists
2002Insufficient current Balance
2003Not cancelled, Bet Status: Established (for Bet cancellation only)

Game Type Mapping Table

CodeDescription
1Slots

Language

CodeDescription
enEnglish (Default Language, if VP does not support the corresponding Language, then the Default Language)
zh-HansSimplified Chinese
thThai
myBurmese
idIndonesian
viVietnamese
jpJapanese
ptPortuguese
koKorean
tlTagalog
hiHindi
msMalay
bnBengali
esSpanish

Currencies

CodeDescription
AUDAustralian Dollar
BDTBangladeshi Taka
BRLBrazilian Real
CADCanadian Dollar
CNYChinese Yuan
EGPEgyptian Pound
EUREuro
GBPBritish Pound
HKDHong Kong Dollar
IDRIndonesian Rupiah (1:1000)
IDR1Indonesian Rupiah (1:1)
INRIndian Rupee
JPYJapanese Yen
KHRCambodian Riel
KRWKorean Won (1:1)
KRW1Korean Won (1:1000)
LAKLao Kip (1:1000)
LAK1Lao Kip (1:1)
LKRSri Lankan Rupee
MMKMyanmar Kyat (1:1000)
MMK1Myanmar Kyat (1:1)
MYRMalaysian Ringgit
MYR1Malaysian Ringgit (displayed as 100:1 in-game)
NPRNepalese Rupee
PHPPhilippine Peso
THBThai Baht
USDUS Dollar
USDTTether
VNDVietnamese Dong (1:1000)
VND1Vietnamese Dong (1:1)
ZARSouth African Rand

Transaction Source Code

CodeDescription
1General Bet
2Mission System
3Red Packet Draw
4System Reward
5Open Treasure Chest
6Cash Voucher
7Multiplier Reward
8Card
9Operator Card