Error Codes - Overview

Status: Published

These error codes are returned by the downstream system, namely trading-app-2, when there is a failure. These error codes can be found as part of the trading-app-2 code base under configs/error.ini.

If developers add new error codes to the system then they should be added to this document.

Error TypeErrorError Number
General
generalgeneral1
emailExists10
missingParams11
login20
emailNotFound21
loginRequired30
infoRequired31
confirmation40
depositRequired50
blocked100
frozen101
bannedCountry102
notEnoughFunds103
invalidFacebookUser104
invalidSite105
invalidParam106
expired107
invalidVKUser109
duplicateVKUser110
questionaryGeneralError111
invalidWCUser112
newWCUser113
invalidMode114
invalidWalletPassword115
demoDisabled116
Validate Function Errors
validate.function.validateMandatoryFieldsmissingParams
validate.function.validateIllegalCharsinvalidParam
validate.function.validatePasswordinvalidParam
validate.function.validateCountryinvalidParam
validate.function.validateEmailinvalidParam
validate.function.validateBannedCountrybannedCountry
Risk Errors
payout200
stake201
userDailyBalance202
userStakePerGame203
frequency204
instrument205
feed206
strike207
exposure208
losses209
direction210
stakeFormat211
fx212
abook213
fxengine214
noorder215
trigger216
expiry217
value218
leverage219
Close Trade Errors
closeTrade.invalidParams250
closeTrade.instrumentClosed251
closeTrade.technical252
closeTrade.invalidGameType253
closeTrade.instrumentNotManuallyClosable254
closeTrade.closingPriceSLExceeded255
Financial Errors
technical300
validationSystem301
validationUser302
fraud303
Bonus Errors
bonus.technical340
bonus.invalidParams341
bonus.maxDeposit342
bonus.factor343
bonus.volumeTechnical344
bonus.volumeInactive345
bonus.volumeNotFound346
bonus.notFound347
bonus.factorNonExists348
bonus.maxForexBonusCharge349
Withdrawal Errors
withdrawal.technical380
withdrawal.empty381
withdrawal.reserved382
withdrawal.locked383
withdrawal.notFound384
withdrawal.wrongParams385
withdrawal.uploadDocumentsRequired386
Other Errors
invalidOption390
inactiveOption391
Payment Errors
paymentTechnicalError410
paymentInvalidParams411
paymentNotFound412
paymentConfigError413
paymentConnectionProblems414
paymentGatewayError415
paymentDeclined416
paymentInvalidChecksum417
paymentStatusUnknown418
paymentStatusUnknown419
Practice Wallet
practiceTechnicalError510
practiceInvalidParams511
practiceWalletExists512
practiceIsNotAllowed513
practiceExpired514
Wallets
wallets.technicalError600
wallets.invalidParams601
wallets.noWallet602
wallets.notEnoughFunds603
wallets.pendingBonusExists604
wallets.pendingNotReleased605
wallets.tradeableNegativeValues606
Custom Feed
customFeed.technical700