若请求错误,服务器将返回的JSON文本包含以下参数:
- error_code:错误码。
- error_msg:错误描述信息,帮助理解和解决发生的错误。
例如Access Token失效返回:
{
"error_code": 110,
"error_msg": "Access token invalid or no longer valid"
}
需要重新获取新的Access Token再次请求即可。
错误码 | 错误信息 | 描述 |
---|---|---|
1 | Unknown error | 服务器内部错误,请再次请求, 如果持续出现此类错误,请通过QQ群(375765194)或工单联系技术支持团队。 |
2 | Service temporarily unavailable | 服务暂不可用,请再次请求, 如果持续出现此类错误,请通过QQ群(375765194)或工单联系技术支持团队。 |
3 | Unsupported openapi method | 调用的API不存在,请检查后重新尝试 |
4 | Open api request limit reached | 集群超限额 |
6 | No permission to access data | 无权限访问该用户数据 |
17 | Open api daily request limit reached | 每天流量超限额 |
18 | Open api qps request limit reached | QPS超限额 |
19 | Open api total request limit reached | 请求总量超限额 |
100 | Invalid parameter | 无效参数 |
110 | Access token invalid or no longer valid | Access Token失效 |
111 | Access token expired | Access token过期 |
216015 | module closed | 模块关闭 |
216100 | invalid param | 非法参数 |
216101 | not enough param | 参数数量不够 |
216102 | service not support | 业务不支持 |
216103 | param too long | 参数太长 |
216110 | appid not exist | APP ID不存在 |
216111 | invalid userid | 非法用户ID |
216200 | empty image | 空的图像 |
216201 | image format error | 图像格式错误 |
216202 | image size error | 图像大小错误 |
216300 | db error | DB错误 |
216400 | backend error | 后端系统错误 |
216401 | internal error | 内部错误 |
216500 | unknown error | 未知错误 |
282000 | logic internal error | 业务逻辑层内部错误 |
282001 | logic backend error | 业务逻辑层后端服务错误 |
282002 | input encoding error | 请求参数编码错误 |
282100 | image transcode error | 图像压缩转码错误 |
282202 | antiporn detect timeout | 检测超时 |
282203 | image frame size error | gif单帧大小超限 |
282204 | image frames limit error | gif总帧数超限 |
282205 | image fromat must gif | 图像格式错误 |
282800 | configId param is error or null | 配置Id不存在 |
282801 | image and imgUrl are empty | image和imgUrl均为空 |
282802 | either image and imgUrl has value | image和imgUrl只能有一个有值 |
282804 | download image error | 图像下载失败 |
282805 | internal request failed | 调用底层服务异常 |
282806 | image length or width error | 图像宽高异常 |
282872 | too many img urls max num is 30 | 图像链接过多 |
282873 | some img urls invalid | 部分url异常 |
您已经阅读00:00:00欢迎留言评论,喜欢的话就为作者点个赞或者赏颗糖吧! 分享
发表评论(不少于3个字符) 取消回复