Error Code
Last Updated:2020-07-20
Common error codes in the authentication process are:
Error return code | Error message | Status code | Description |
---|---|---|---|
AccessDenied | Access denied. | 403 Forbidden | No privilege to access the corresponding resource. |
InappropriateJSON | The JSON you provided was well-formed and valid, but not appropriate forthis operation. | 400 Bad Request | The JSON format in the request is correct, but doesn't meet the requirements semantically, For example, a required item is missing, or the value type does not match. For consideration of compatibility, all unrecognizable items should be ignored directly, and this error should not be returned. |
InternalError | We encountered an internal error Please try again. | 500 Internal Server Error | All other undefined errors should not be utilized when there are specific corresponding other types of errors (including generic and service customized errors). |
InvalidAccessKeyId | The Access Key ID you provided doesnot exist in our records. | 403 Forbidden | Access key ID does not exist. |
InvalidHTTPAuthHeader | The Access Key ID you provided does notexist in our records. | 400 BadRequest | Authorization header field format error. |
InvalidHTTPRequest | There was an error in the body of your HTTP request. | 400 Bad Request | The HTTP body format is wrong. For example, it does not conform to the specified Encoding. |
InvalidURI | Could not parse the specified URI. | 400 Bad Request | The URI format is incorrect, such as mismatch of some service-defined keywords. For ID mismatch, more specific error codes should be defined, such as NoSuchKey. |
MalformedJSON | The JSON you provided was not well-formed. | 400 BadRequest | Illegal JSON format. |
InvalidVersion | The API version specified was invalid. | 404 NotFound | The version number of the URI is illegal. |
OptInRequired | A subscription for the service is required. | 403 Forbidden | No corresponding service has been enabled. |
PreconditionFailed | The specified If-Match header doesn&# 8217; tmatch the ETag header. | 412 PreconditionFailed | See Etag for details. |
RequestExpired | Request has expired. Timestamp date is<Data>. | 400 BadRequest | The request has timed out. Change to x-bce-date. If only Date exists in the request, you need to convert Date to datetime. |
IdempotentParameterMismatch | The request uses the same client token asa previous, but non-identical request. | 403 Forbidden | The API parameters corresponding to clientToken are non-identical. |
SignatureDoesNotMatch | The request signature we calculated does not match the signature you provided. Check yourSecret Access Key and signing method. Consultthe service documentation for details. | 400 Bad Request | The signature attached in the authorization header field is inconsistent with the server-side verification. |