WEEX API Common Error Codes and Solutions

By: WEEX
|
0

📌To help developers quickly locate problems when calling the WEEX API, the following table summarizes common error codes and corresponding solutions.

Please follow the prompts to troubleshoot and fix the issues to ensure the API requests function correctly.

QuestionSolution
Error code 40001:The request header "ACCESS_KEY" cannot be emptyThe Access Key cannot be left blank.
Error code 40002:The request header "ACCESS_SIGN" cannot be emptySignature cannot be left blank.
Error code 40003:The request header "ACCESS_TIMESTAMP" cannot be emptyThe Timestamp field cannot be left blank.
Error code 40005:Invalid ACCESS_TIMESTAMPUse the interface https://contract-openapi.weex.com/api/spot/v1/public/time (where the "data" part is your timestamp), and make sure it is 13 digits long.
Error code 40006:Invalid ACCESS_KEYAccess key = API key (for example, weex_f2df5c29c274be465d3f49be3e73d6c1), ensuring it must start with WEEX.
Error code 40007:Invalid Content_Type, please use the "application/json" formatAdd "Content-Type": "application/json" to the request header.
Error code 40008:Request timestamp has expiredThe validity period of the request is 30 seconds.
Error code 40009:API validation failedPlease create a new apikey.
Error code 429:Requesting too frequentlyRequest frequency exceeds the limit.
Error code 40011:The request header "ACCESS_PASSPHRASE" cannot be emptyThe passphrase cannot be left blank.
Error code 40012:Incorrect API key/passphraseAPI key or passphrase error
Error code 40013:User account is frozenContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 40014:Insufficient permissionsContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 40015:System errorContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 40016:Users must bind a mobile phone or Google AuthenticatorBind the account using Google Authenticator
Error code 40018:Illegal IP requestYou can try to create an API key that is not bound to an IP address.
Error code 40912:Single cancellation cannot exceed 50The number of cancellations cannot exceed 50.
Error code 40913:Either orderId or clientId must be providedPlease provide the orderID or clientID.
Error code 40102:Trading pair configuration does not existYou can refer to https://contract-openapi.weex.com/api/spot/v1/public/products
Error code 40200:Server upgrade in progress, please try again laterContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 40305:The client_uid length should not exceed 40 characters and cannot contain special charactersThe Client ID must not contain special characters and its length should be less than 40.
Error code 40409:Format errorContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 40704:Only query data for the last three monthsOnly the data from the last three months can be queried.
Error code 40707:Start time is earlier than end timeThe start time must be earlier than the end time.
Error code 40724:Parameter is emptyThe parameter cannot be left blank.
Error code 40725:Service returned an errorContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 43001:Order does not existOrder does not exist.
Error code 43002:Order placement failedOrder placement failed
Error code 43004:There are no open orders to cancelThere are no cancelable orders.
Error code 43005:Exceeds maximum order sizeExceeding the maximum order quantity limit
Error code 43006:Order quantity is less than the minimum trading amountYou can refer to the minTradeAmount on https://contract-openapi.weex.com/api/spot/v1/public/products
Error code 43007:Order quantity exceeds the maximum trading amountYou can refer to the minTradeAmount on https://contract-openapi.weex.com/api/spot/v1/public/products
Error code 43008:Current order price cannot be less than 0The current order price cannot be less than 0.
Error code 43009:Current order price exceeds the limit of 0The current order price exceeds the limit by 0
Error code 43010:Trade amount cannot be less than 0The transaction amount must not be less than 0.
Error code 43011:Current order price cannot be less than 0The current order price cannot be less than 0.
Error code 41101:Parameter check failedContact @whitexixi_yc and fill out the work order to provide feedback.
Error code 42002:BALANCE NOT ENOUGHInsufficient balance
Related articles
Share
copy

Gainers

iconiconiconiconiconiconicon
Customer Support:@weikecs
Business Cooperation:@weikecs
Quant Trading & MM:bd@weex.com
VIP Program:support@weex.com