公共错误码

错误码 错误描述 解决方案
API_SYS_REQMETHOD 不支持的请求方式 检查是否为GET/POST方式请求
API_SYS_REQDATETIME 日期时间格式错误 检查日期时间格式
API_SYS_REQDATETIME_NOT 不在网络时间范围内 请求时间必须在20分钟以内
API_SYS_REQUSERAUTH_NOT 无效授权 有可能APPID或KEY错误或者不存在
API_SYS_REQFORMAT_NOT 不被支持的数据格式 检查数据格式
API_SYS_REQSIGNTYPE_NOT 不支持的签名类型 检查签名类型
API_SYS_REQSIGN Signature签名错误 检查签名算法
API_SYS_REQPARA 缺少参数 添加缺失参数
SYS_ERR 内部错误 联系客服处理
SYS_ERR_REQTYPE 请使用POST请求 使用POST请求
SYS_ERR_USER 暂无用户Access Key信息 检查用户Access Key

错误码及描述

错误码 英文描述 中文描述
-1 busy system 系统繁忙
-2 internal error 内部错误
40001 invalid credential 不合法的调用凭证
40002 invalid grant_type 不合法的grant_type
40003 missing scope 缺失scope参数
40004 AppID or AppSecret error, please confirm the correctness of AppSecret AppID或者AppSecret错误
40005 invalid access_token 不合法的access_token
40006 invalid refresh_token 不合法的refresh_token
40007 invalid url size 不合法的url长度
40008 invalid url 不合法的url
40009 access_token missing 缺失access_token参数
40010 appid missing 缺失appid参数
40011 refresh_token missing 缺失refresh_token参数
40012 appsecret missing 缺失secret参数
40013 missing code 缺失code参数
40014 missing state 缺失state参数
40015 access_token expired access_token超时
40016 refresh_token expired refresh_token超时
40017 missing url 缺失url参数
40018 code expired code超时
40019 require GET method 需要使用GET方法请求
40020 require POST method 需要使用POST方法请求
40021 require https 需要使用HTTPS
40022 empty post data 空白的POST数据
40023 empty content 空白的内容
40024 Unlawful redirect_uri 不合法的redirect_uri
40025 Wrong user account or password 用户账户或密码错误
40026 missing redirect_uri 缺失redirect_uri参数
40027 invalid scope 不合法的scope
40028 missing grant_type 缺失grant_type参数
40029 invalid response_type 不合法的response_type
40030 No response_type supplied 缺少response_type参数
40031 invalid code 不合法的code
40032 IP is not authorized IP未被授权
40033 Unauthorized type 不被授权的类型
40034 The state parameter cant exceed 128 bytes state参数不能超过128个字节
40035 AppIp or RefreshToken errors AppIp或者RefreshToken错误
40036 missing client_secret 缺失client_secret参数
40037 Frequent operation, freezing for a period of time 操作频繁,冻结一段时间
40038 invalid AppID 不合法的AppID
40039 invalid OpenID 不合法的OpenID
40040 invalid oauth_consumer_key 不合法的oauth_consumer_key
40041 No user information 暂无用户信息
40042 Illegal temporary bills 不合法的临时票据
40043 Invalidation of temporary bills 临时票据失效
40044 Access ABCD token no permission access_token无权限
40045 There is no user information at present, so it needs to be associated and bound. 暂无用户信息,需要进行关联绑定
40046 Try again later due to too many login errors 由于登录错误次数过多稍后再试

微信

错误码 英文描述 中文描述
201001 WeChat public number failed in original ID verification 微信公众号原始ID验证失败
201002 No login scenario information or invalid 暂无登录场景信息或已失效
201003 Need to run on wechat 需要在微信端运行
201004 Error in login of WeChat public address 微信公众号登录出现错误

小程序

错误码 英文描述 中文描述
301001 Required parameter missing 缺少必要参数
301002 WeChat Mini Program Login Error 微信小程序登录出现错误
301003 missing wxid 缺失wxid参数
301004 missing session_key 缺失session_key参数
301005 Invalid wxid 无效wxid
301010 Data decryption failed 数据解密失败
301012 There is currently no record of WeChat users 暂无微信用户记录
301014 Invalid oauth_consumer_key 无效oauth_consumer_key
301020 WeChat backend exception 微信后端异常
301021 Unable to obtain WeChat user’s phone number 无法获得微信用户手机号码
301022 Invalid or expired code code失效或过期

用户

错误码 英文描述 中文描述
401010 Unbound user 未绑定用户
401011 The phone number does not comply with regulations 手机号不符合规定
401012 The phone number has been occupied 手机号已被占用
401013 User ticket has expired 用户票据已失效
401015 User has been recycled by the system 用户已被系统回收