If there is an Error field in the response, it means that the API call failed. For example:
{
"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"
}
}
Code in Error indicates the error code, and Message indicates the specific information of the error.
| Error Code | Description |
|---|---|
| ActionOffline | This API has been deprecated. |
| AuthFailure.InvalidAuthorization | Authorization in the request header is invalid. |
| AuthFailure.InvalidSecretId | Invalid key (not a TencentCloud API key type). |
| AuthFailure.MFAFailure | MFA failed. |
| AuthFailure.SecretIdNotFound | Key does not exist. Check if the key has been deleted or disabled in the console, and if not, check if the key is correctly entered. Note that whitespaces should not exist before or after the key. |
| AuthFailure.SignatureExpire | Signature expired. Timestamp and server time cannot differ by more than five minutes. Please ensure your current local time matches the standard time. |
| AuthFailure.SignatureFailure | Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation. |
| AuthFailure.TokenFailure | Token error. |
| AuthFailure.UnauthorizedOperation | The request is not authorized. For more information, see the CAM documentation. |
| DryRunOperation | DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidAction | The API does not exist. |
| InvalidParameter | Incorrect parameter. |
| InvalidParameterValue | Invalid parameter value. |
| InvalidRequest | The multipart format of the request body is incorrect. |
| IpInBlacklist | Your IP is in uin IP blacklist. |
| IpNotInWhitelist | Your IP is not in uin IP whitelist. |
| LimitExceeded | Quota limit exceeded. |
| MissingParameter | A parameter is missing. |
| NoSuchProduct | The product does not exist. |
| NoSuchVersion | The API version does not exist. |
| RequestLimitExceeded | The number of requests exceeds the frequency limit. |
| RequestLimitExceeded.GlobalRegionUinLimitExceeded | Uin exceeds the frequency limit. |
| RequestLimitExceeded.IPLimitExceeded | The number of ip requests exceeds the frequency limit. |
| RequestLimitExceeded.UinLimitExceeded | The number of uin requests exceeds the frequency limit. |
| RequestSizeLimitExceeded | The request size exceeds the upper limit. |
| ResourceInUse | Resource is in use. |
| ResourceInsufficient | Insufficient resource. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resource is unavailable. |
| ResponseSizeLimitExceeded | The response size exceeds the upper limit. |
| ServiceUnavailable | Service is unavailable now. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter. |
| UnsupportedOperation | Unsupported operation. |
| UnsupportedProtocol | HTTP(S) request protocol error; only GET and POST requests are supported. |
| UnsupportedRegion | API does not support the requested region. |
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| FailedOperation.Cls | Call CLS service failure |
| FailedOperation.FailedOperation | Operation failed. |
| FailedOperation.InternalError | Operation failed. Internal error. |
| FailedOperation.Resource | The maximum number of instance purchases is exceeded. |
| FailedOperation.Role | Failed to get temporary key |
| FailedOperation.Vpc | Failed to call the VPC service |
| InternalError.CamNoAuth | Insufficient permissions. |
| InternalError.CreateError | Create an internal error. |
| InternalError.DecodeError | Decoding error. |
| InternalError.HttpStatusCodeError | Status code error. |
| InternalError.IOError | Internal service call exception. |
| InternalError.InternalError | Internal service error. |
| InternalError.OperationFailed | Operation failed. |
| InternalError.QueryError | Query internal error. |
| InternalError.UnknownError | Unknown error. |
| InternalError.UpdateError | Refresh internal error. |
| InvalidParameterValue.Action | The operation is not supported for old instances. |
| InvalidParameterValue.BadRequestFormat | Request format incorrect. |
| InvalidParameterValue.CreateError | Invalid request parameter caused creation failure. |
| InvalidParameterValue.Description | The description information is invalid. |
| InvalidParameterValue.GatewayId | Gateway ID invalid |
| InvalidParameterValue.InvalidParameterValue | Invalid parameter value. |
| InvalidParameterValue.Name | Invalid name. |
| InvalidParameterValue.OperationFailed | Invalid request parameter caused operation failure. |
| InvalidParameterValue.QueryError | Invalid request parameter. Query failed. |
| InvalidParameterValue.Region | Invalid Region. |
| InvalidParameterValue.ResourceAlreadyExist | The resource already exists. |
| InvalidParameterValue.Specification | Gateway specification parameter content error |
| InvalidParameterValue.Type | Gateway type parameter content error |
| InvalidParameterValue.UpdateError | Invalid request parameter caused update failure. |
| LimitExceeded.LBDomains | The total certificate domain names of the gateway exceed the limit. |
| LimitExceeded.LimitExceeded | The parameter exceeds the limit. |
| MissingParameter.CreateError | Missing parameter caused creation failure. |
| MissingParameter.MissParameter | Missing required parameters. |
| OperationDenied | Operation denied. |
| OperationDenied.OperationDenied | Operation not allowed. |
| ResourceInUse.GatewayServiceSourceExistService | Service source and service relationship. |
| ResourceNotFound.Forbidden | The resource does not exist. Operation is not allowed. |
| ResourceNotFound.InstanceNotFound | The instance does not exist. |
| ResourceNotFound.ResourceNotFound | The resource does not exist. |
| UnauthorizedOperation.CamNoAuth | Authentication fail. |
| UnauthorizedOperation.CamPassRoleNotExist | The sub-account lacks passRole permission. |
| UnauthorizedOperation.ClsNotActivated | CLS product is not activated. |
| UnauthorizedOperation.Uin | Unauthorized Uin |
| UnauthorizedOperation.UnauthorizedOperation | Unauthorized operation. |
文档反馈