Feedback

错误码

功能说明

如果返回结果中存在 Error 字段,则表示调用 API 接口失败。例如:

 {
    "Response": {
        "Error": {
            "Code": "AuthFailure.SignatureFailure",
            "Message": "The provided credentials could not be validated. Please check your signature is correct."
        },
        "RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
    }
}

Error 中的 Code 表示错误码,Message 表示该错误的具体信息。

错误码列表

公共错误码

错误码说明
ActionOffline接口已下线。
AuthFailure.InvalidAuthorization请求头部的 Authorization 不符合腾讯云标准。
AuthFailure.InvalidSecretId密钥非法(不是云 API 密钥类型)。
AuthFailure.MFAFailureMFA 错误。
AuthFailure.SecretIdNotFound密钥不存在。请在 控制台 检查密钥是否已被删除或者禁用,如状态正常,请检查密钥是否填写正确,注意前后不得有空格。
AuthFailure.SignatureExpire签名过期。Timestamp 和服务器时间相差不得超过五分钟,请检查本地时间是否和标准时间同步。
AuthFailure.SignatureFailure签名错误。签名计算错误,请对照调用方式中的签名方法文档检查签名计算过程。
AuthFailure.TokenFailuretoken 错误。
AuthFailure.UnauthorizedOperation请求未授权。请参考 CAM 文档对鉴权的说明。
DryRunOperationDryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
FailedOperation操作失败。
InternalError内部错误。
InvalidAction接口不存在。
InvalidParameter参数错误(包括参数格式、类型等错误)。
InvalidParameterValue参数取值错误。
InvalidRequest请求 body 的 multipart 格式错误。
IpInBlacklistIP 地址在黑名单中。
IpNotInWhitelistIP 地址不在白名单中。
LimitExceeded超过配额限制。
MissingParameter缺少参数。
NoSuchProduct产品不存在
NoSuchVersion接口版本不存在。
RequestLimitExceeded请求的次数超过了频率限制。
RequestLimitExceeded.GlobalRegionUinLimitExceeded主账号超过频率限制。
RequestLimitExceeded.IPLimitExceededIP 限频。
RequestLimitExceeded.UinLimitExceeded主账号限频。
RequestSizeLimitExceeded请求包超过限制大小。
ResourceInUse资源被占用。
ResourceInsufficient资源不足。
ResourceNotFound资源不存在。
ResourceUnavailable资源不可用。
ResponseSizeLimitExceeded返回包超过限制大小。
ServiceUnavailable当前服务暂时不可用。
UnauthorizedOperation未授权操作。
UnknownParameter未知参数错误,用户多传未定义的参数会导致错误。
UnsupportedOperation操作不支持。
UnsupportedProtocolhttp(s) 请求协议错误,只支持 GET 和 POST 请求。
UnsupportedRegion接口不支持所传地域。

业务错误码

错误码说明
AuthFailureCAM签名/鉴权错误。
AuthFailure.UnRealNameAuthenticated未完成实名认证,不允许此操作。
AuthFailure.UnsupportedOperation不支持该操作。
InvalidParameter.OutOfRange参数超出范围。
InvalidParameter.SdkAppIdSdkAppId参数错误。
MissingParameter.Region缺少Region参数。
MissingParameter.RoomId缺少RoomId参数。
MissingParameter.SdkAppId缺少SdkAppId参数。
MissingParameter.TaskId缺少TaskId参数。
MissingParameter.UserId缺少UserId参数。
MissingParameter.UserSig缺少UserSig参数。