错误信息
更新时间:2022-03-14
错误返回格式
若请求错误,服务器将返回的JSON文本包含以下参数:
- error_code:错误码。
- error_msg:错误描述信息,帮助理解和解决发生的错误。
错误码
| 错误码 | 错误信息 | 描述 |
|---|---|---|
| 4 | Open api request limit reached | 集群超限额 |
| 14 | IAM Certification failed | IAM鉴权失败,建议用户参照文档自查生成sign的方式是否正确,或换用控制台中ak sk的方式调用 |
| 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 | 图片格式错误 |
| 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 | 图片宽高异常 |
