Error Codes

Last updated: 2019-09-20 10:27:32

This is a legacy API and may be deprecated in the future. It is currently not displayed on the left sidebar. We recommend using API Category, which is more standardized and has much lower access latency API Category.

Feature Description

The error code in the returned result summarizes the result of the call and the execution of a TencentCloud API. Code is the common error code applicable to the APIs of all Tencent Cloud products. 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.
For example:

{
    "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 failure is usually caused by errors in signature calculation
4101 No API access authorization The sub-account is not authorized by the main account to access this API. Please contact the main account admin for permission to access this API
4102 No authorization to access resources The sub-account is not authorized by the main account to access the specified resource. Please contact the main account admin for permission to access the resource
4103 No authorization to access resources operated by the current API The sub-account is not authorized by the main account to access the specified resource operated by this API. Please contact the main account admin for permission to access the resource
4104 The key does not exist The key used for the request does not exist. Please confirm 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 use Submit Ticket to solve the issue
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 five minutes
4600 Unsupported protocol The protocol is not supported. The current API supports HTTPS protocol but not HTTP
5000 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 message, 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 Insufficient balance in user account to complete the purchase or upgrade
5400 Partial execution success A part of the batch operation has been successfully executed. For more information, see the returned 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 or not in service. Please try again later