首页 资讯 正文

WEEX API 常见错误代码及解决方案说明

Weex 2025年11月04日 03:20

📌为便于开发者在调用 WEEX API 时快速定位问题,以下表格汇总了常见错误代码及对应的解决方案说明。

请根据提示进行排查和修复,以确保接口请求正常运行。

问题解决方案
错误代码40001:The request header "ACCESS_KEY" cannot be emptyAccess Key 不能为空
错误代码40002:The request header "ACCESS_SIGN" cannot be emptySignature 不能为空
错误代码40003:The request header "ACCESS_TIMESTAMP" cannot be emptyTimestamp 不能为空
错误代码40005:Invalid ACCESS_TIMESTAMP使用接口 https://contract-openapi.weex.com/api/spot/v1/public/time (data 即为你的 timestamp),确保为13位
错误代码40006:Invalid ACCESS_KEYaccess key = API key(例如 weex_f2df5c29c274be465d3f49be3e73d6c1),确保必须以WEEX开头。
错误代码40007:Invalid Content_Type, please use the "application/json" format在请求头中加入 "Content-Type": "application/json"
错误代码40008:Request timestamp has expired请求的有效期为30秒
错误代码40009:API validation failed请重新创建一个apikey
错误代码429:Requesting too frequently请求频率超出限制
错误代码40011:The request header "ACCESS_PASSPHRASE" cannot be emptypassphrase不能为空
错误代码40012:Incorrect API key/passphraseapi key 或 passphrase 错误
错误代码40013:User account is frozen联系@whitexixi_yc 填写工单反馈
错误代码40014:Insufficient permissions联系@whitexixi_yc 填写工单反馈
错误代码40015:System error联系@whitexixi_yc 填写工单反馈
错误代码40016:Users must bind a mobile phone or Google Authenticator使用 Google Authenticator 绑定账号
错误代码40018:Illegal IP request可以尝试创建一个未绑定 IP 地址的 apikey
错误代码40912:Single cancellation cannot exceed 50撤单数量不能超过50
错误代码40913:Either orderId or clientId must be provided请提供 orderID 或 clientID
错误代码40102:Trading pair configuration does not exist可参考 https://contract-openapi.weex.com/api/spot/v1/public/products
错误代码40200:Server upgrade in progress, please try again later联系@whitexixi_yc 填写工单反馈
错误代码40305:The client_uid length should not exceed 40 characters and cannot contain special charactersClient ID 不可包含特殊字符且长度小于 40
错误代码40409:Format error联系@whitexixi_yc 填写工单反馈
错误代码40704:Only query data for the last three months只能查询最近三个月的数据
错误代码40707:Start time is earlier than end timestart time 必须早于 end time
错误代码40724:Parameter is empty参数不能为空
错误代码40725:Service returned an error联系@whitexixi_yc 填写工单反馈
错误代码43001:Order does not exist订单不存在
错误代码43002:Order placement failed下单失败
错误代码43004:There are no open orders to cancel没有可撤销的挂单
错误代码43005:Exceeds maximum order size超过最大下单数量限制
错误代码43006:Order quantity is less than the minimum trading amount可参考 https://contract-openapi.weex.com/api/spot/v1/public/products 的 minTradeAmount
错误代码43007:Order quantity exceeds the maximum trading amount可参考 https://contract-openapi.weex.com/api/spot/v1/public/products 的 maxTradeAmount
错误代码43008:Current order price cannot be less than 0当前订单价格不能小于0
错误代码43009:Current order price exceeds the limit of 0当前订单价格超过限制0
错误代码43010:Trade amount cannot be less than 0成交额不能小于0
错误代码43011:Current order price cannot be less than 0当前订单价格不能小于0
错误代码41101:Parameter check failed联系@whitexixi_yc 填写工单反馈
错误代码42002:BALANCE NOT ENOUGH余额不足