Error Codes
Gateway
| Error Code | msg |
|---|---|
| 1710001 | API not configured |
| 1710002 | API disabled |
| 1710003 | Invalid api key |
| 1710004 | Permission denied |
| 1710005 | Timestamp missing |
| 1710006 | Timestamp invalid |
| 1710007 | Timestamp expired |
| 1710008 | Invalid signature |
| 1710009 | Nonce missing |
| 1710010 | Nonce replay |
| 1710011 | Duplicate request |
| 1710012 | Too many requests |
| 1710013 | Api key expired |
| 1710014 | Ip not allowed |
| 1710015 | API key permission not enabled |
| 1710016 | API key IP not authorized |
| 1710017 | API key symbol permission not enabled |
| 1710018 | API key endpoint permission not enabled |
| 1710019 | API key category mismatch |
| 1710020 | Secret key non-existent |
| 1710021 | Account non-existent |
| 1710022 | Invalid signature |
| 1710023 | API Key permission denied, Invalid IP or permissions |
| 1710024 | broker information error |
Trading
Note: The same errorCode may be returned from multiple validation points with different msg details, where msg specifies the exact error context;
| Error Code | msg | Remarks. |
|---|---|---|
| 200 | Success | |
| 2020001 | Invalid parameter | The message depends on the validation failure. |
| 2020002 | System busy, please try again later | |
| 2020010 | permission denial | |
| 2020011 | Invalid parameter | The message depends on the validation failure. |
| 2020019 | Invalid parameter | The message depends on the validation failure. |
| 2020020 | Too many visits. Exceeded the API Rate Limit. | |
| 2020023 | already processed | |
| 2020024 | trading banned can not create open order | |
| 2020026 | Trade banned until upgrade process is completed | |
| 2020027 | Trade banned | |
| 2020029 | order not exists | The message depends on the validation failure. |
| 2020032 | User had been banned | |
| 2021001 | OrderLinkedID is duplicate client_reduce_id is duplicate order id is duplicate | |
| 2021003 | QtyOutOfRange | |
| 2021004 | The number of contracts exceeds maximum limit allowed | |
| 2021006 | last_price not exists | |
| 2021008 | ab is not enough | |
| 2021011 | This contract only supports position reduction operation, please contact customer service for details | |
| 2021015 | Operation not allowed as position is undergoing liquidation. | |
| 2021016 | Operation not allowed as position is undergoing ADL. | |
| 2021032 | ab is not enough | |
| 2021038 | insufficient wallet balance | |
| 2021039 | OrderAlreadyCancelled order already cancelled stop_order already cancelled, cannot replace_so | |
| 2021044 | ab not enough for new leverage | |
| 2021049 | ab is not enough | |
| 2021054 | number of active orders great than limit | |
| 2021057 | order not modified | |
| 2021059 | Not allowed to exceeded position limits due to Open Interest. | |
| 2021061 | Cannot switch isolated mode | |
| 2021062 | position mode not modified | |
| 2021063 | Cannot switch isolated mode | |
| 2021064 | symbol:{} not exists | |
| 2021067 | pm not modified position margin not modified | |
| 2021068 | symbol is not support both side mode | |
| 2021069 | position size is zero | |
| 2021073 | Upgrading position, please try again | |
| 2021124 | Order does not meet minimum order value {} usd Order does not meet minimum order value {}{} | |
| 2021170 | Order price cannot be smaller than {}, the price limitation. | |
| 2021171 | Order price cannot be higher than {}, the price limitation. | |
| 2021209 | open limit can not replace order qty up | |
| 2021250 | symbol is not in trading time | |
| 2021251 | switch to cross mode is not supported | |
| 2021252 | Price invalid | |
| 2021253 | Qty invalid Qty is required quantity invalid quantity is required | |
| 2021255 | market maker is not allowed to replace order | |
| 2021256 | market maker is not allowed to place market order | |
| 2021257 | market maker is not allowed to place stop order | |
| 2021258 | market maker is not allowed to place order with take profit or stop loss market maker is not allowed to set take profit or stop loss | |
| 2021259 | market maker is not allowed to switch to isolated mode | |
| 2022001 | order symbol not exists request symbol invalid symbol invalid symbol not exists | |
| 2022002 | symbol is not supported {} | |
| 2022006 | order amount great than max trade amount | |
| 2022007 | order amount less than min trade amount | |
| 2022008 | order amount precision too long | |
| 2022009 | Order price must be higher than {}{}, the base price. Order price must be lower than {}{}, the base price. price over max value | |
| 2022010 | order price precision too long | |
| 2022011 | order qty great than max trade quantity | |
| 2022012 | order qty less than min trade quantity | |
| 2022013 | order qty precision too long order quantity precision too long | |
| 2022014 | market maker cannot place market order market order not allow now plan order not allow now | |
| 2022018 | stop limit order not allow now | |
| 2022019 | order id duplicate order link id duplicate | |
| 2022020 | current platform not allow to trade. current symbol not allow to trade. openapi trade not allow | |
| 2022021 | buy or sell not allow market maker symbol not allow to trade symbol base price not configured symbol is delisted symbol not allow to trade symbol not in open time | |
| 2022023 | Order price cannot be higher than {} times the open price | |
| 2022024 | Order price cannot be higher than {}, the price limitation. | |
| 2022025 | Order price cannot be lower than {}, the price limitation | |
| 2022030 | order has been rejected | |
| 2022031 | order has been finished | |
| 2022032 | order has been cancelled | |
| 2022033 | order status invalid | |
| 2022038 | Insufficient account balance | |
| 2022039 | order not exists or too late to cancel order not exists or too late to replace | |
| 2022051 | working order num cannot greater than {} | |
| 2022052 | account is in liq | |
| 2022053 | Cancel order request processing | |
| 2022060 | The modified contract quantity cannot be less than the filled quantity. | |
| 2022061 | The order is processing and can not be operated, please try again later | |
| 2022067 | index price is illegality last price is illegality | |
| 2022069 | last price not exists. | |
| 2022083 | The size of list cannot exceed {}. | |
| 2022112 | Order price cannot be lower than {}, the price limitation. | |
| 2022113 | Order price cannot be higher than {}, the price limitation | |
| 2022114 | Buy Market Order is forbidden to trade | |
| 2022115 | Sell Market Order is forbidden to trade | |
| 2022116 | Buy Limit Order is forbidden to trade | |
| 2022117 | Sell Limit Order is forbidden to trade | |
| 2022118 | The order remains unchanged as the parameters entered match the existing ones. | |
| 2023042 | ab not enough | |
| 2023074 | user upgrading |
Assets
| Error Code | msg |
|---|---|
| 0 | success |
| 10000 | system error |
| 10001 | required parameter |
| 10003 | invalid parameter |
| 10006 | invalid user |
| 10008 | no valid coin |
| 10132 | vasp parameter invalid |
| 10701 | invalid asset |
| 20001 | The user is invalid |
| 20026 | Invalid parameter |
| 20066 | Invalid account |
| 20068 | Insufficient available account balance |
| 20162 | Invalid asset code |
| 20163 | Withdrawal is temporarily unavailable |
| 20240 | Withdrawal amount must be greater than zero |
| 20243 | Withdrawal is temporarily closed |
| 20249 | Recipient account is frozen |
| 20252 | Sender asset record does not exist |
| 20256 | Transfer failed; please try again |
| 20264 | Deposit is temporarily closed |
| 20268 | Withdrawal amount cannot be empty |
| 20346 | Account is abnormal; please contact customer support |
| 20350 | Daily withdrawal limit exceeded |
| 20351 | Withdrawal amount is below the minimum |
| 20432 | Withdrawal amount precision is invalid |
| 20845 | Failed to get deposit address; please try again |
| 21313 | Withdrawal address whitelist verification failed |
| 21315 | Chain name is required |
| 21388 | restricted region Services are unavailable in your region due to applicable policies |
| 60004 | Memo length exceeds the limit |
| 60005 | Withdrawal address length exceeds the limit |
| 60006 | Please enter a valid UID |
| 60007 | Daily withdrawal quota has been used up |
| 60008 | Recipient account does not exist; please check the email address or phone number |
| 60016 | Invalid address or address length |
| 60020 | Insufficient fee |
| 60021 | Failed to get address; please contact customer support |
| 60028 | Today's withdrawal limit has been reached |
| 60029 | Internal withdrawal to your own account is not allowed |
| 60030 | Recipient account security level is too low |
| 60031 | Temporary account setup is required |
| 60038 | Withdrawal fee is invalid |
| 60041 | Deposit address is being added; please try again later |
| 60042 | Deposit address limit reached |
| 60045 | Withdrawal failed due to insufficient withdrawable balance |
| 60054 | Identity verification is required before withdrawal |
| 60056 | Memo is required |
| 60057 | Memo format is invalid |
| 1269100 | Missing required wallet authentication parameter |
| 1269101 | Invalid wallet key configuration |
| 1269102 | Wallet request timestamp has expired |
| 1269103 | Duplicate wallet request |
| 1269104 | Wallet signature verification failed |
| 1269105 | Failed to decrypt wallet message |
| 6000060 | Withdrawal is temporarily disabled; please contact customer support |
| 6000070 | Recipient address is invalid |
| 6000071 | The withdrawal address may be a contract address |
| 6000074 | The address already contains a memo; clear the memo field |
| 6000075 | Address is not activated |
| 6000076 | Address is invalid |
| 6000077 | Address format is invalid |
| 6060061 | Recipient account is abnormal; use UID for transfer |