Error Codes

Last updated: 2019-09-23 11:48:13

PDF

This is a legacy API and may be deprecated in the future. It is currently not displayed on the left sidebar. We recommend using [CVM API v3.0], which is more standardized and has much lower access latency (https://intl.cloud.tencent.com/document/api/213/15689).

Feature Description

The code (error code) in the response body summarizes the result of the call and execution of a TencentCloud API. Any code other than 0 indicates that the request was not properly executed. Users can identify the cause of the error and take appropriate actions based on the following list of common error codes.
Below is a sample:

{
    "code": "5100"
}

Common Error Codes

Error Code Description Action
4000 Invalid request parameter A required parameter is missing or the parameter value is incorrectly formatted. For detailed error information, see the `message` field
4100 Authentication failed Signature authentication failed. This is usually caused by errors in signature calculation
4101 No API access authorization The sub-account is not authorized by the root account to access this API. Please contact the root account admin for access permission.
4102 No authorization to access resources The sub-account is not authorized by the root account to access the specified resource. Please contact the root account admin for access permission.
4103 No authorization to access resources operated by the current API The sub-account is not authorized by the root account to access the specified resource operated on by this API. Please contact the root account admin for permission to access the resource.
4104 The key does not exist The key used for the request does not exist. Please check and try again.
4105 Incorrect token The token is incorrect.
4106 MFA verification failed MFA verification failed.
4110 Other CAM authentication failures Other CAM authentication failures.
4300 Access denied The account is blocked or not authorized to use the API.
4400 Quota exceeded The number of requests exceeds the quota limit. Please submit a ticket for assistance.
4500 Replay attack The `Nonce` and `Timestamp` parameters ensure that each request will be executed only once on the server. The `Nonce` parameter must be unique, and the difference between `Timestamp` and the Tencent server time should not be greater than 5 minutes
4600 Unsupported protocol The protocol is not supported. The API currently only supports HTTPS but not HTTP.
5000 The resource does not exist The instance corresponds to the resource ID does not exist, the instance has been returned or resource accessed belongs to other users
5100 Resource operation failed The operation on the resource failed. For detailed error information, see the `message` field. Please try again later or contact customer service for assistance.
5200 Resource purchase failed Failed to purchase the resource. Possible causes include unsupported instance configuration or insufficient resources.
5300 Insufficient balance Failed to purchase the resource due to insufficient balance.
5400 Partially executed A part of the batch operation has been performed successfully. For more information, see the return value of the method.
5500 User qualification review failed Failed to purchase the resource due to user qualification review failure.
6000 Internal server error An error occurred inside the server. Please try again later or contact customer service for assistance.
6100 Unsupported by current version The API is not supported by the current version or is under maintenance. Note: When this error occurs, first check whether the domain name of the API is correct, as the domain name may vary by module
6200 API temporarily inaccessible The current API is under maintenance and not in service. Please try again later.