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 API
0No errorRequest SuccessAll APIs
5Game is not foundGame does not exist or has been delistedOpen Game, Query Bet Logs, Query Bet Detail, 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 Detail
10Agent code was not found or blockAgent does not exist or is blockedGet Access Token
11Parameters errorParameter errorAll APIs
14The BetId is not existQuery Bet Logs does not existQuery Bet Detail, Query Bet Replay
19Invalid accountInvalid accountOpen Game
37The Function is not supportedThis function is not supportedQuery Bet Detail, Query Bet Replay
38Query not allowed as the betId has expiredBet detail/replay has exceeded query timeQuery Bet Detail, Query Bet Replay
77Too many request, please try again laterToo many requestsQuery Bet Logs, Query Daily Report, Query Player Report
78Operator card spinId was usedItem ID has been usedSend Operator Card, Send Simple FreeSpin Operator Card
81Branch config not foundBranch config not foundOpen Game, Query Bet Logs
82Please check siteId is for this playersiteId does not match PlayerOpen Game
83Signature verification failedSignature verification failedAll APIs that require verification
84Encryption failedEncryption failedAll APIs that require encryption
85Key config setting errorEncryption setting read abnormalAll APIs
86Game is restrictedGame rejected due to restrictionsOpen Game, Send Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
87Invalid item parameter valueOperator Card Parameter Combination ErrorSend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
88Only one item can be active at a time in the same gameItem cannot be triggered simultaneouslySend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
89The item has not been used yet, or the spinId does not existItem not yet used, cannot query resultSend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
100The server is busy, please try again laterService is busyOpen Game

Error Code Classification

Success Codes

CodeDescription
0Request Success, no error

Player Management Errors

CodeDescriptionPossible CauseHandling Suggestion
6Player Account already existsUsed an already registered Player Account to Create PlayerUse another Player Account
8Player does not existQuery or operate on a non-existent PlayerConfirm Player ID or Player Account is correct, call Create Player API first
19Player Account invalidPlayer Account format error or abnormal statusCheck Player Account format and status
20Player Wallet temporarily lockedPlayer Wallet is temporarily locked for some reasonRetry later or Contact Customer Support Team

Game Management Errors

CodeDescriptionPossible CauseHandling Suggestion
5Game does not existUsed invalid Game Code or Game has been delistedConfirm Game Code is correct
82siteId does not matchsiteId does not correspond to PlayerContact Customer Support Team, provide logUUID
86Game rejected due to restrictionsThis Game cannot be opened due to currency, line, etc.First confirm if the Game List document has a description, then Contact Customer Support Team, provide logUUID
100Service is busy, cannot generate new Game linkService has reached the maximum number of users, more Players are rejected to ensure qualityRetry later

Query Bet Log Errors

CodeDescriptionPossible CauseHandling Suggestion
14Query Bet Logs does not existQuery for a non-existent Query Bet Logs or incorrect txTimeConfirm betId and txTime parameters are correct
37This function is not supportedThis query transaction does not support this API functionConfirm whether the transaction is within the queryable range
38Bet detail/replay has exceeded query timeTransaction occurred more than 30 days agoContact Customer Support Team
CodeDescriptionPossible CauseHandling Suggestion
78Item Transaction ID duplicateItem ID has been usedChange spinId parameter

System Level Errors

CodeDescriptionPossible CauseHandling Suggestion
7Internal system errorInternal server errorContact Customer Support Team, provide logUUID
10Agent erroragentId or secret is incorrect, or Agent is blockedCheck authentication information, contact administrator to confirm status
11Parameter errorRequest parameters missing, format error, or do not meet requirementsCheck all required parameters and format
77Too many requestsToo many requests sent in a short periodReduce request frequency, retry later
81Branch config not foundSystem configuration missingContact Customer Support Team
83Signature verification failedSignature calculation error or incorrect request headerCheck signature generation logic and request header
84Encryption failedEncryption key error or incorrect encryption methodCheck encryption configuration and implementation
85Encryption setting read abnormalSystem cannot read valid Key informationContact Customer Support Team
87Operator Card Parameter Combination ErrorPlease check the Operator Card sending rules for the corresponding APIReconfirm parameter rules or Contact Customer Support Team
88Item cannot be triggered simultaneouslyPlayer has another card active in the Game that has not been used yetPlease ask the Player to re-enter the corresponding Game and use the card before sending again
89Item not yet used, cannot query resultItem has not been fully usedReconfirm that the Item has been used or if the Item has expired or does not exist

10 - Agent Error

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

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

Handling Suggestion:

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

83 - Signature verification failed

This is the most common authentication error, possibly caused by the following:

  1. Incorrect signature string combination order

    • The correct order should be: agentId + 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 (must be unique for each request)
  4. Missing or incorrect request header

    • Missing required request headers: x-agentid, x-timestamp, x-nonce, x-signature
    • Request header value is inconsistent with the value used for actual signature calculation

Handling Suggestion:

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

84 - Encryption failed

Encryption/decryption related errors:

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

Handling Suggestion:

  • Check if encryption implementation uses AES-256-GCM
  • Confirm 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 canceled, Bet status: Placed (for Bet cancellation only)

Game Kind Mapping Table

CodeDescription
1SLOT (Slot)
6FISH (Fish)

Language

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

Currencies

info

The "Display 100:1 in Game" for MYR1 and THB1 only affects the displayed ratio of amounts within the Game. API values do not require ratio conversion and can be sent as 1:1.

CodeDescription
AUDAustralian Dollar
BDTBangladeshi Taka
BRLBrazilian Real
CADCanadian Dollar
CNYChinese Yuan
COPColombian Peso
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)
MXNMexican Peso
MYRMalaysian Ringgit
MYR1Malaysian Ringgit (Display 100:1 in Game)
NGNNigerian Naira
NPRNepalese Rupee
NZDNew Zealand Dollar
PHPPhilippine Peso
PKRPakistani Rupee
SGDSingapore Dollar
THBThai Baht
THB1Thai Baht (Display 100:1 in Game)
USDUS Dollar
USDTTether
VNDVietnamese Dong (1:1000)
VND1Vietnamese Dong (1:1)
ZARSouth African Rand

Transaction Source Codes

CodeDescription
1Normal Bet
2Task System
3Prize
4System Reward
5Treasure Chest
6Cash Ticket
7Multi Quest
8Card
9Operator Card
13Fish Game Special Transaction (Jackpot and Card)

Feature Mode

Used to indicate additional Game modes triggered or used during a Normal Bet (betSourceId = 1).

CodeDescription
0baseGame
1freeGame
2buyBonus
3buyBonusWithGem
4extraBet