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

Debugging and Troubleshooting Guide

When the API returns an error, the msg field may contain specific detailed descriptions to help operators or developers locate and fix configuration issues:

Error Message (Detailed msg)Possible CauseTroubleshooting Steps
agent has no access authorization for game_id xxxThe agent does not have access authorization for this game.Check if the game is added to the agent's game access authorization list in Admin Panel.
agent brand route/mapping not configured for brand xxxThe merchant route/mapping for this game brand is missing.Verify if the brand mapping (Route) is created in the merchant configuration panel.
currency XXX is not enabled/supported in brand YYY configurationsThe target currency is not enabled for the brand.Go to Admin Panel -> Provider Brand Settings, enable the target currency (e.g. IDR).
agent game commission rate not configured for currency XXX and game type YYYCommission rate for the target currency and game type is missing.Go to Agent Management -> Commission Rates, add a rate for the target currency and category (e.g. SLOT).
Call agent balance callback failed...Core system failed to reach the integration callback server.1. Check if the Callback URL (Base URL) is correct in Merchant Setup.
2. Verify if the callback server is online and white-listed IPs.
Player auto registration failed during game launchSilent registration failed when launching a new user.Database error or core system validation error. Please contact tech support.

VCT Gaming Integration Platform