当接口调用发生错误时,您可以通过错误码排查问题。本文列举了公共的错误码信息,其他非公共错误码请参考具体的 API 文档。
Code | CodeN | Message | 说明 | 状态码 |
---|---|---|---|---|
MissingParameter | 100002 | The request is missing %s parameter. | 关键参数缺失,例如 Action, Version 参数。 | 400 |
MissingAuthenticationToken | 100003 | Request is missing Authentication Token. | 缺少身份认证的必要信息,例如 Auth 信息。 | 401 |
MissingRequestInfo | 100004 | The request is missing %s information. | 缺少请求必要信息,例如:Access Key,Service,Region等。 | 400 |
MissingSignature | 100005 | The request is missing signature. | 缺少签名结果。 | 401 |
InvalidTimestamp | 100006 | The Signature of the request is expired. | 请求过期或请求的签名时间来自未来。 | 403 |
ServiceNotFound | 100007 | This service[%s] not found. | 请求的服务不存在。 | 404 |
InvalidActionOrVersion | 100008 | Could not find operation %s for version %s. | 请求接口不存在。 | 404 |
InvalidAccessKey | 100009 | The accesskey [%s] included in the request is invalid. | 请求的 Access Key 不合法。 | 401 |
SignatureDoesNotMatch | 100010 | The 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 |
LackPolicy | 100012 | Request was rejected because of lack of policy. | 子用户缺少权限。 | 403 |
AccessDenied | 100013 | User is not authorized to perform: %s on resource: %s. | 子用户拥有的权限不支持当前操作。 | 403 |
InternalError | 100014 | Service has some internal Error. Pls Contact With Admin. | 内部错误。 | 500 |
FailToConnect | 100015 | Top Fail to Connect to Internal Service. | 已通过身份认证,但服务无法连接。 | 502 |
InternalServiceTimeout | 100016 | Internal Service is timeout. Pls Contact With Admin. | 服务执行超时。 | 504 |
FlowLimitExceeded | 100018 | Request was rejected because the request speed of this openAPI is beyond the current flow control limit. | 请求过于频繁,超出了基本限速。 | 429 |
ServiceUnavailableTemp | 100019 | Service is busy, please try again later. | 处于熔断状态的服务暂时不可访问,稍后重试。 | 503 |
MethodNotAllowed | 100020 | HTTP Method Not Allowed. | Http method不合法。 | 405 |
InternalServiceError | 100023 | Service has some internal Error. Pls Contact With Admin. | 服务存在故障。 | 502 |
InvalidAuthorization | 100024 | Invalid 'Authorization' header, Pls check authorization header. | Authorization 头格式错误,检查 Authorization。 | 400 |
InvalidCredential | 100025 | Invalid credential in 'Authorization', Pls check credential in authorization header. | Authorization 头中的 Credential 格式错误,检查 Credential。 | 400 |
InvalidSecretToken | 100026 | Invalid secret token, msg: %s. | 错误的 STS or STS2,可能是多种错误,例如签名错误、过期等。 | 401 |