You need to enable JavaScript to run this app.
导航
附录
最近更新时间:2022.06.06 10:16:00首次发布时间:2022.06.06 10:16:00
请求错误码

描述:对应返回参数中最外层的Code和Message字段

CodeMessage
0成功
4001参数错误(内含具体错误信息)
4002用量超限
4003无效账户信息
4004大于最大任务数,最多同时运行5个任务
4005请求header信息缺失
5001服务器错误

特殊情况:网关调用服务出错时,返回参数

用户的请求由TOP网关转发给OpenApi,网关错误返回字段结构如下,

{
    "ResponseMetadata": {
        "RequestId": "20211213140257010225133143062CC07B",
        "Action": "DescribeTemplateTask",
        "Version": "2021-09-01",
        "Service": "iccloud_muse",
        "Region": "cn-north-1",
        "Error": {
            "CodeN": 100007,
            "Code": "ServiceNotFound",
            "Message": "This service[iccloud_muse] not found."
        }
    }
}

网关错误码说明如下:

CodeCodeNMessage备注Status
UndefinedError100001Undefined Internal Error. Pls Contact With Admin.一般不出现这个问题,这是系统开发兜底的错误提示500
MissingParameter100002The request is missing %s parameter.关键参数缺失,例如Action, Version参数400
MissingAuthenticationToken100003Request is missing Authentication Token缺少身份认证的必要信息,例如Auth信息401
MissingRequestInfo100004The request is missing %s information.缺少请求必要信息,例如:Accesskey,service,region等400
MissingSignature100005The request is missing signature.缺少签名结果401
InvalidTimestamp100006The Signature of the request is expired请求过期或请求的签名时间来自未来403
ServiceNotFound100007This service[%s] not found.请求的服务不存在404
InvalidActionOrVersion100008Could not find operation %s for version %s请求接口不存在404
InvalidAccessKey100009The accesskey [%s] included in the request is invalid.请求的AK不合法401
SignatureDoesNotMatch100010The request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method. Consult the service documentation for details.签名结果不正确401
ServiceShouldCallSelfApi100011The service(%s) should call self-api使用service aksk访问请求,仅能访问自己的接口和公共服务的接口。公共服务例如:iam403
LackPolicy100012Request was rejected because of lack of policy.子用户请求缺少权限(默认是deny的)403
AccessDenied100013User is not authorized to perform: %s on resource: %s子用户拥有的权限不支持当前操作403
InternalError100014Service has some internal Error. Pls Contact With AdminTOP自身内部错误,例如DB error。500
FailToConnect100015Top Fail to Connect to Internal Service业务服务连接不上,这里的业务一般指具体的imagex、vod。502
InternalServiceTimeout100016Internal Service is timeout. Pls Contact With Admin内部服务执行超时,请查看服务在TOP上配置的超时时间。504
InnerApiNeedAccountInfo100017The inner request should have account infoService aksk请求内部服务时缺少了账号信息400
FlowLimitExceeded100018Request was rejected because the request speed of this openAPI is beyond the current flow control limit.请求过于频繁,超出了基本限速429
ServiceUnavailableTemp100019Service is busy, please try again later.处于熔断状态的服务暂时不可访问,稍后重试503
MethodNotAllowed100020HTTP Method Not AllowedHttp method不合法405
LackProjectPolicy100021Request was rejected because of lack of project policy.请求需要验证Project的权限,当前Project权限验证不合法403
InternalServiceError100023Service has some internal Error. Pls Contact With Admin.业务服务存在故障,这里的业务一般指具体的imagex、vod。故障不来自TOP502
InvalidAuthorization100024Invalid 'Authorization' header, Pls check authorization header.Authorization头格式错误,检查Authorization。400
InvalidCredential100025Invalid credential in 'Authorization', Pls check credential in authorization header.Authorization头中的Credential格式错误,检查Credential400
InvalidSecretToken100026Invalid secret token, msg: %s.错误的STS or STS2,可能是多种错误,例如签名错误、过期等。401