文档中心 > 错误码
错误码

最近更新时间:2021-03-12

平台错误返回格式

若请求错误,服务器将返回的JSON文本包含以下参数:

字段类型说明
codeint错误码
messagestring错误信息
descriptionstring错误信息的说明

例如Token失效返回:

需要重新获取新的Access Token,再次请求获取Token的API即可。

平台错误码说明

错误码httpsCode含义说明
900901401Invalid credentials提供的token无效
900902401Missing credentials没有提供token
900905401Incorrect access token type is provided不支持的token类型
900906403No matching resource found in the API for the given request访问的服务不存在,请检查访问路径
900907401The requested API is temporarily blocked调用的接口维护中,暂时不可用
900908403Resource forbidden禁止访问,请确保你调用的服务已经订阅
900909401The subscription to the API is inactive调用的接口维护中,暂时不可用
900910403The access token does not allow you to access the requested resource禁止访问,请确保你调用的服务已经订阅
10011403available pkg use up服务的套餐已用完,暂时无法使用,购买套餐即可
10021403request throttled out并发限制,稍后重试即可

服务错误返回格式

{    "code": 14,    "message": "Download fail"

}

服务错误码返回说明

错误码说明
1授权失败
14文件下载错误
100服务错误
101未知错误