本文为您介绍调用云服务器API时涉及的公共错误码信息,平台错误码请参见公共错误码。
错误代码Code | HTTP状态码 | 错误信息Message | 处理措施 |
---|---|---|---|
MissingParameter | 400 | The request is missing %s parameter. | 关键参数缺失,例如Action, Version参数。 |
MissingRequestInfo | 400 | The request is missing %s information. | 缺少请求必要信息,例如:Accesskey,service,region等。 |
InnerApiNeedAccountInfo | 400 | The inner request should have account info. | Service AK/SK请求内部服务时缺少了账号信息。 |
InvalidAuthorization | 400 | Invalid 'Authorization' header, Pls check authorization header. | Authorization头格式错误,检查Authorization。 |
InvalidCredential | 400 | Invalid credential in 'Authorization', Pls check credential in authorization header. | Authorization头中的Credential格式错误,检查Credential。 |
Invalid{FieldName}.Malformed | 400 | The specified {FieldName} is malformed. | 指定的参数格式不合法。 |
MissingAuthenticationToken | 401 | Request is missing Authentication Token. | 缺少身份认证的必要信息,例如Auth信息。 |
MissingSignature | 401 | The request is missing signature. | 缺少签名结果。 |
InvalidAccessKey | 401 | The accesskey [%s] included in the request is invalid. | 请求的AK不合法。 |
SignatureDoesNotMatch | 401 | 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. | 签名结果不正确。 |
InvalidSecretToken | 401 | Invalid secret token, msg: %s. | 错误的STS or STS2,可能是多种错误,例如签名错误、过期等。 |
LackProjectPolicy | 403 | Request was rejected because of lack of project policy. | 请求需要验证Project的权限,当前Project权限验证不合法。 |
InvalidTimestamp | 403 | The Signature of the request is expired. | 请求过期或请求的签名时间来自未来。 |
ServiceShouldCallSelfApi | 403 | The service(%s) should call self-api. | 使用Service AK/SK访问请求,仅能访问自己的接口和公共服务的接口。公共服务例如:IAM。 |
LackPolicy | 403 | Request was rejected because of lack of policy. | 子用户请求缺少权限(默认为deny)。 |
AccessDenied | 403 | User is not authorized to perform: %s on resource: %s. | 子用户拥有的权限不支持当前操作。 |
ServiceNotFound | 404 | This service[%s] not found. | 请求的服务不存在。 |
InvalidActionOrVersion | 404 | Could not find operation %s for version %s. | 请求接口不存在。 |
MethodNotAllowed | 405 | HTTP Method Not Allowed. | Http method不合法。 |
PendingVerification | 412 | Your account has not passed the real-name authentication yet. | 账户未实名认证。 |
FlowLimitExceeded | 429 | Request was rejected because the request speed of this openAPI is beyond the current flow control limit. | 请求过于频繁,超出了基本限速。 |
UndefinedError | 500 | Undefined Internal Error. Pls Contact With Admin. | 一般不出现这个问题,这是系统开发兜底的错误提示。 |
InternalError | 500 | Service has some internal Error. Pls Contact With Admin. | 内部错误,例如DB error。 |
FailToConnect | 502 | Top Fail to Connect to Internal Service. | 业务服务连接不上。 |
InternalServiceError | 502 | Service has some internal Error. Pls Contact With Admin. | 业务服务存在故障,这里的业务一般指具体的imagex、vod。 |
ServiceUnavailableTemp | 503 | Service is busy, please try again later. | 处于熔断状态的服务暂时不可访问,稍后重试。 |
InternalServiceTimeout | 504 | Internal Service is timeout. Pls Contact With Admin. | 内部服务执行超时。 |