Skip to content

Error Codes

Agent Token Authentication Errors

Error MessageCauseSolution
Authorization header is requiredMissing Authorization headerAdd Authorization: Bearer {token}
Authorization header format must be Bearer {token}Incorrect header formatConfirm format is Bearer<space>{token}
Invalid token formatToken is not three-partConfirm Token format is key.timestamp.signature
Invalid token: missing required partsToken has empty partsCheck all parts have values
Invalid token: invalid timestampTimestamp is not a valid numberConfirm timestamp is Unix seconds
Token expiredTimestamp outside ±2 min windowCheck server time, regenerate with current timestamp
Invalid agent credentialsAPI Key invalid or not foundVerify agent_api_key is correct
Invalid token signatureSignature mismatchVerify agent_api_secret is correct, check signing algorithm

General Error Codes

CodeMessageDescription
0successSuccess
1001err.param.invalidParameter missing or invalid format
1002err.signature.invalidSignature verification failed
1003err.request.timeoutRequest timeout
1004err.request.duplicateDuplicate request (idempotency)
CodeMessageDescription
2001err.player.not_foundPlayer not found
2002err.player.duplicatePlayer already exists (duplicate registration)
2003err.player.disabledPlayer has been disabled
2004err.player.password_invalidInvalid password
2005err.player.register_failedPlayer registration failed
2006err.player.member_id_invalidInvalid member_id format
CodeMessageDescription
3001err.fund.insufficient_balanceInsufficient balance
3002err.fund.invalid_amountInvalid transfer amount (zero or exceeds limit)
3003err.fund.duplicate_transferDuplicate transfer reference
3004err.fund.transfer_pendingTransfer in progress, please query later
3005err.fund.currency_not_supportedCurrency not supported
CodeMessageDescription
4001err.game.not_foundGame not found or offline
4002err.game.maintenanceGame under maintenance
4003err.game.type_unsupportedUnsupported game type
4004err.game.platform_unsupportedUnsupported platform type
4005err.game.launch_failedGame launch failed
4006err.game.access_deniedGame access denied (agent does not have permission for this game)
CodeMessageDescription
5001err.provider.unavailableProvider unavailable
5002err.provider.call_failedProvider API call failed
5003err.provider.abnormal_responseProvider returned abnormal response
5004err.provider.unsupportedUnsupported provider
5005err.provider.feature_unsupportedProvider does not support this feature

VCT Gaming Integration Platform