Last updated: 2017-10-17 22:36:48PDF
The error code included in the response packet provides the summary of results of calling and execution of Tencent Cloud APIs.
Any error code other than 0 indicates the request is not properly executed. An error message describes the error in details. Users can come up with the API execution result based on the error code.
On some terminals, such as browsers, message in Chinese is displayed in Unicode and needs to be decoded.
The following table lists the error codes that may be returned by Tencent Cloud APIs:
|Error Code||Error Type||Description|
|4000||Invalid request parameter||Required parameter is missing, or parameter value is not in a correct format. For relevant error message, please see the message field in error description.|
|4100||Authentication failed||Signature authentication failed. Please see the Authentication section in the document.|
|4200||Request expired||The request has expired. Please see the Request Validity Period section in the document.|
|4300||Access denied||Account is blocked or not within the user range of the API.|
|4400||Quota exceeded||The number of requests exceeds the quota. For more information, please see the Request Quota section in the document.|
|4500||Replay attack||The Nonce and Timestamp parameters can ensure that each request will be executed only once on the server. Therefore, the Nonce value cannot be the same as last one, and the difference between Timestamp and Tencent server time cannot be greater than 2 hours.|
|4600||Protocol not supported||The protocol is not supported. For more information, please see the relevant document.|
|5000||Resource not found||The instance corresponding to resource ID does not exist, or the instance has been returned, or another user's resource is accessed.|
|5100||Resource operation failed||The operation performed on the resource failed. For relevant error message, please see the message field in error description. Try again later or contact customer service personnel for help.|
|5200||Failed to purchase resource||The resource purchase failed. This is may be caused by unsupported instance configuration or insufficient resource.|
|5300||Failed to purchase resource||The resource purchase failed because of insufficient balance.|
|5400||Part of operations performed successfully||Part of the batch operations have been performed successfully. For more information, please see the returned value of method.|
|5500||Identity verification failed||Unable to purchase resource as the user failed to pass identity verification.|
|6000||Internal server error||An internal error occurred on the server. Try again later or contact customer service for help.|
|6100||Not supported by the version||This API is not supported in this version or the API is under maintenance. Note: When this error occurs, first check whether the domain of the API is correct. Different modules may have different domains.|
|6200||API temporarily unavailable||The API is unavailable due to maintenance. Try again later.|