Error Codes
Error Codes
V2 Common Error Codes (50000-50999)
| Error Code | HTTP Status Code | Error Message |
|---|---|---|
| 0 | 200 | Success |
| 50000 | 200 | the api frequency limiting |
| 50001 | 200 | nil |
| 50002 | 200 | Internal Error |
| 50003 | 200 | Validation Failed |
| 50004 | 200 | Database Operation Error |
| 50005 | 200 | Invalid Parameter |
| 50006 | 200 | Missing Parameter |
| 50007 | 200 | Invalid Operation |
| 50008 | 200 | Invalid Configuration |
| 50009 | 200 | Missing Configuration |
| 50010 | 200 | Not Implemented |
| 50011 | 200 | Not Supported |
| 50012 | 200 | Operation Failed |
| 50013 | 200 | Not Authorized |
| 50014 | 200 | Security Reason |
| 50015 | 200 | Server Is Busy |
| 50016 | 200 | Unknown Error |
| 50017 | 200 | Not Found |
| 50018 | 200 | Invalid Request |
| 50019 | 200 | Business Validation Failed |
| 50101 | 400 | Request param error |
| 50102 | 401 | Timestamp request expired |
| 50103 | 401 | DC-ACCESS-KEY can't be empty |
| 50104 | 401 | DC-ACCESS-PASSPHRASE can't be empty |
| 50105 | 401 | DC-ACCESS-PASSPHRASE incorrect |
| 50106 | 401 | DC-ACCESS-SIGN can't be empty |
| 50107 | 401 | DC-ACCESS-TIMESTAMP can't be empty |
| 50110 | 401 | Invalid IP |
| 50111 | 401 | Invalid Sign |
| 50112 | 401 | Invalid DC-ACCESS-TIMESTAMP |
| 50113 | 401 | Invalid DC-ACCESS-KEY |
| 50114 | 401 | Invalid Authority |
| 50116 | 401 | token can't be empty |
| 50117 | 401 | Invalid Token |
| 50118 | 401 | Expired Token |
| 50119 | 405 | Invalid Request method |
| 50120 | 404 | No funding rate data found |
| 50121 | 500 | downstream err |
V2 Instrument Error Codes (51000-51999)
| Error Code | HTTP Status Code | Error Message |
|---|---|---|
| 51000 | 200 | instType error |
| 51001 | 200 | Instrument ID does not exist |
| 51002 | 200 | Invalid instId |
| 51026 | 200 | Instrument type does not match underlying index |
| 51027 | 200 | Instrument ID does not allowed to trade |
| 51028 | 200 | Contact customer service to apply for whitelisting |
| 51029 | 200 | ordId Over Limit 50 / only_copying_users_can_view |
| 51030 | 200 | invitation_only_copying |
| 51031 | 200 | black_user_cant_copying |
| 51032 | 200 | clear_position_before_move_black_user |
V2 Copy Trading Error Codes (52000-52999)
| Error Code | HTTP Status Code | Error Message |
|---|---|---|
| 52001 | 200 | Get support contract failed |
| 52002 | 200 | CopyCode required when IsClosedCopyCode is false |
| 52003 | 200 | Not support contract |
| 52004 | 200 | Please Clear Position |
| 52005 | 200 | Copy Code Format Error |
| 52006 | 200 | One Market Position |
| 52007 | 200 | Clear Position Error |
V2 Asset Service Error Codes (54000-54999)
| Error Code | HTTP Status Code | Error Message |
|---|---|---|
| 54001 | 200 | Asset service error |
| 54002 | 200 | System error |
| 54003 | 200 | Frequent requests |
| 54004 | 200 | Translation template does not exist |
| 54005 | 200 | User does not exist |
| 54006 | 200 | The SMS code you entered is incorrect |
| 54007 | 200 | The email verification code you entered is incorrect / The wrong api password |
| 54008 | 200 | The name is duplicate |
| 54009 | 200 | Timestamp request expired / Dynamic error |
| 54010 | 200 | Sign Exception |
| 54011 | 200 | Version Exception |
| 54012 | 200 | UID and AccountID Doesn't Match |
V2 Core Trading Error Codes (60000-60199)
| Error Code | HTTP Status Code | Error Message |
|---|---|---|
| 60000 | 200 | Success |
| 60001 | 200 | SystemNotReady |
| 60002 | 200 | RecordNotFound |
| 60003 | 200 | RecordExist |
| 60004 | 200 | InvalidAction |
| 60005 | 200 | InvalidValue |
| 60007 | 200 | InvalidSession |
| 60008 | 200 | InstrumentNotFound |
| 60009 | 200 | MemberNotFound |
| 60011 | 200 | MarketDataNotFound |
| 60012 | 200 | BadField |
| 60014 | 200 | DuplicateAction |
| 60018 | 200 | MarketOrderCanNotQueue |
| 60020 | 200 | GtdOrderExpired |
| 60021 | 200 | MvOrderExceedVolumn |
| 60022 | 200 | OrderExist |
| 60024 | 200 | OrderNotFound |
| 60025 | 200 | QuoteNotFound |
| 60026 | 200 | InvalidInstrumentStatus |
| 60027 | 200 | InvalidInstrumentStatusShift |
| 60030 | 200 | NotEnoughVolumeToModify |
| 60031 | 200 | NotEnoughPositionToClose |
| 60032 | 200 | PositionLimit |
| 60033 | 200 | AccountLessThanZeroAfterClose |
| 60034 | 200 | MemberPositionLimit |
| 60035 | 200 | AccountNotFound |
| 60036 | 200 | InsufficientMoney |
| 60037 | 200 | InvalidVolume |
| 60044 | 200 | VolumeNotOnTick |
| 60048 | 200 | PriceNotOnTick |
| 60049 | 200 | PriceOutOfUpperLimit |
| 60050 | 200 | PriceOutOfLowerLimit |
| 60051 | 200 | NoTradingRight |
| 60052 | 200 | CloseOnly |
| 60054 | 200 | UserNotLogin |
| 60056 | 200 | OnlyTradeManagerCanDoThis |
| 60058 | 200 | UserMismatch |
| 60059 | 200 | UserRelogin |
| 60060 | 200 | InvalidUserOrPassword |
| 60062 | 200 | UserNotActive |
| 60065 | 200 | InvalidLoginIpaddress |
| 60071 | 200 | CanNotOperateDerivedOrder |
| 60076 | 200 | OrderHadSuspended |
| 60077 | 200 | OrderHadActived |
| 60078 | 200 | GtdOrderDateMissed |
| 60079 | 200 | UnSupportOrderType |
| 60080 | 200 | UserNoPermission |
| 60088 | 200 | UserNotFound |
| 60099 | 200 | CanNotActionForOtherUser |
| 60100 | 200 | NotEnoughMargin |
| 60118 | 200 | CombinationOnSingleInstrument |
| 60139 | 200 | OtcTypeError |
| 60172 | 200 | NotEnoughLeverage |
| 60175 | 200 | PriceMustGreaterThanZero |
| 60176 | 200 | InvalidAPIKey |
| 60177 | 200 | APIKeyExpired |
| 60178 | 200 | APIKeyLimitExceed |
| 60179 | 200 | KeyIsNull |
| 60180 | 200 | CanNotFoundMarginRate |
| 60181 | 200 | DuplicateAPIKey |
| 60182 | 200 | NoLimitPrice |
| 60183 | 200 | ExceedMaxQueryCountPerSecond |
| 60184 | 200 | OrderLimitExceed |
| 60185 | 200 | NotEnoughOpenorders |
| 60186 | 200 | SessionNotFound |
| 60187 | 200 | PriceOutOfAskPrice1 |
| 60188 | 200 | PriceOutOfBidPrice1 |
| 60189 | 200 | PositionExist |
| 60190 | 200 | UnderlyingPriceError |
| 60191 | 200 | RecordAnalysisError |
| 60192 | 200 | DuplicateRecord |
| 60193 | 200 | OutOfMaxVolume |
| 60194 | 200 | LessThanMinVolume |
| 60195 | 200 | PositionLessThanMinVolume |
| 60196 | 200 | TradeForbidden |
| 60197 | 200 | CanNotFoundFee |
| 60198 | 200 | PositionCountLimitExceed |
| 60199 | 200 | LeverageTooHigh |
| 60200 | 200 | PositionUnderDeficit |
| 60201 | 200 | CanNotChangePosType |
| 60202 | 200 | LessThanMinCost |
| 60203 | 200 | Not Find InstrumentId Info |
| 60204 | 200 | Params Is Abnormal |
| 60205 | 200 | Position Is Zero |
| 60206 | 200 | The Price Difference Must Be Greater Than 0.001 |
| 10000 | 200 | dcTrade error |