错误信息说明
SDK返回错误码
API接口参数验证
错误码 | 错误信息 | 说明 |
---|---|---|
InvalidParameter | The specified parameter %s is not valid. | 请检查指定%s参数的值是否正确。 |
InvalidParameterLengthLimit | The maximum length of %s is exceeded. | 参数最大长度限制(示例: name长度最大限制100 ==>> The maximum length of name-100 is exceeded. ) |
MissingParameter | You must specify the parameter %s. | 缺少参数 %s |
InvalidTimeStamp | The specified TimeStamp is invalid. Please check parameter %s. | 时间格式非法 |
ResourceNotFound | The requested resource does not exist. Please check the parameter %s. | 检查参数 s% 是否存在 |
ExistParameter | The specified parameter %s exists. | 参数已存在 |
FileContentInvalid | The specified file content is invalid. | 文件内容格式错误 |
售卖错误
错误码 | 错误信息 | 说明 |
---|---|---|
Unauthorized | You are not authorized to perform the operation. | 账号没有权限 |
ServiceNotSelected | The service is not activated. | 未选中能力 |
ServiceNotOpened | You have not purchased the service. | 未购买服务 |
BalanceNotEnough | The account balance is insufficient and you cannot perform the request. | 余额不足 |
视频下载错误
错误码 | 错误信息 | 说明 |
---|---|---|
DownLoadFail | No permission access. | 视频有权限限制 无法访问。 |
DownLoadFail | Media file download timeout. | 视频下载超时 |
DownLoadFail | Media download failed | 视频下载失败 |
DownLoadFail | Invalid media source | 视频不存在 |
视频检测错误
错误码 | 错误信息 | 说明 |
---|---|---|
InvalidMedia | Media resolution exceeds limit [240P-2160P] | 视频分辨率不符合要求 视频分辨率要求最短边长为[240P-2160P] |
InvalidMedia | Media size exceeds limit less than 4G | 视频大小不能超过4G |
InvalidMedia | Media duration exceeds limit less than 4hour | 视频时长不能超过4小时 |
InvalidMedia | Media duration exceeds limit duration is 0 | 视频时长不能小于或等于0 |
InvalidMedia | Invalid video | 不是有效的视频。 |
InvalidMedia | Media nonsupport format | 不支持的格式(目前支持avi、flv、mkv、mpg、mp4、ts、mov、mxf等 编码格式:MPEG2, MPEG-4, H.264, HEVC, VP9等) |
其它业务逻辑错误 如人脸限制相关等
错误码 | 错误信息 | 说明 |
---|---|---|
FaceImageCountLimit | The maximum number of face images is exceeded. | 人脸数量达到限制 |
ExistTemplateRelationship | The associated template already exists. | 存在关联模板 |
HasSamePersonOrPicture | Already has same person or picture | 已经有相同的人脸或者人物存在 |
HasSamePerson | Already has same person, but different picture | 存在同样的人名,但是很不相同的人物图片 |
HasSamePicture | Already has same picture | 存在相同的人物图片(同一个FaceGroup范围内) |
未知错误和服务引擎错误
错误码 | 错误信息 | 说明 |
---|---|---|
ServiceUnavailable | An error occurred while processing your request. | 服务不可用 |
InvalidApiNotFound | The specified API operation does not exist. Please check the URL and method. | Api不存在 |
UnknownError | An error occurred while processing your request. | 未知错误 |
InternalError | An error occurred while processing your request. | 内部错误 |