Error Codes

Last updated: 2018-08-13 10:04:55

Common Error Codes

The error codes in the returned result indicate the result of the call to a cloud API. "code" is common error code, which applies to APIs of all modules. A code of 0 means the call is successful. Other values mean the call fails. If a call fails, you can find out the cause of the error and take appropriate actions based on the following table.

Error Code Error Type Description
4000 Invalid request parameter Required parameter is missing, or parameter value is in an incorrect format. For error message, please see the "message" field in the error description.
4100 Authentication failed Signature authentication failed. For more information, please see the "Authentication" section in the document.
4200 Request expired The request has expired. For more information, please see the "Request Validity" section in the document.
4300 Access denied The account is blocked or not within the user range of the API.
4400 Quota exceeded The number of requests exceeded the quota limit. For more information, please see the "Request Quota" section in the document.
4500 Replay attack The Nonce and Timestamp parameters ensure that each request is executed only once on the server. Therefore, the Nonce value cannot be the same as the last one, and the difference between Timestamp and Tencent server time cannot be greater than 2 hours.
4600 Unsupported protocol The protocol is not supported. For more information, please see the relevant document.
5000 Resource does not exist The instance corresponding to the 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 error message, please see the "message" field in error description. Try again later or contact customer service.
5200 Failed to purchase the resource The resource purchase failed. This may be caused by unsupported instance configuration or insufficient resources.
5300 Failed to purchase the resource The resource purchase failed because of insufficient balance.
5400 Part of operations performed successfully The batch operation was successful on some resources. For more information, please see the returned value of the method.
5500 User failed to pass identity verification The resource purchase failed because the user failed to pass identity verification.
6000 Internal error with the server An internal error occurred with the server. Try again later or contact customer service.
6100 Not supported in the version This API is not supported in this version or is under maintenance. Note: When this error occurs, check whether the domain name for the API is correct. Domain name may vary with different modules.
6200 API is unavailable The API is under maintenance and is unavailable. Try again later.

Module Error Codes

"message" field indicates errors related to modules.
Example:
"message": "(2130) Invalid ProjectID parameter"
It consists of two parts - the string within () indicates the module error code, and the string following () is the error description.
The errors vary with different modules. You can identify the cause of an error based on error description. Some error codes of different versions may have the same meaning.

Error Code Description
1000 System's internal error. Try again later or contact the vendor.
1001 DB error. Try again later or contact the vendor.
1010 Invalid request
1011 Invalid request API. Check it and try again.
1012 Invalid request parameter. Check it and try again.
1013 Incorrect parameter configuration. Try again later or contact the vendor.
1014 The operation is being performed. Do not submit it again.
1015 Incorrect module name. Check it and try again.
1100 The user does not exist. Check it and try again.
1101 The user already exists. Do not repeat the operation.
1102 The user is blocked. Contact the vendor.
1103 The user is in arrears. Top up and try again.
1104 Non-VIP customer, who is not allowed to perform this operation
1110 The user is under review. Try again later.
1112 You do not have permission for this operation. Contact the vendor to apply for the permission.
1120 The number of accelerated domain names exceeds the system limit
2000 The accelerated domain name does not exist. Check it and try again.
2001 The domain name you submitted already exists. Do not add it again.
2002 The requested domain name is not licensed. Check it and try again.
2003 The requested domain name is locked. Contact the vendor.
2004 The requested domain name has not been activated. Check it and try again.
2005 The requested domain name has been deactivated. Check it and try again.
2006 The requested domain name is blocked. Contact the vendor.
2010 You have performed the operation too many times. Do not call the API frequently.
2011 The number of operations exceeds the system limit. Do not call the API frequently.
2100 Domain name contains invalid parameters. Check it and try again.
2111 Tencent's internal domain name. Contact the vendor.
2112 Restricted domain name. Submit a ticket if you need to make an access request.
2113 The requested domain name is on the system blacklist, which cannot be worked with. Contact the vendor.
2114 The length of the domain name exceeds the system limit. Modify it and try again.
2121 The number of origin servers exceeds the limit. Check it and try again.
2122 The domain name of the origin server already exists in the system. Contact the vendor.
2123 The requested origin server is on the system blacklist, which cannot be worked with. Contact the vendor.
2124 The origin server address is private IP. Check it and try again.
2125 The length of the origin server address exceeds the system limit. Modify it and try again.
2130 Invalid ProjectID parameter. Check it and try again.
2140 Invalid HTTPS parameter. Check it and try again.
2150 Invalid Platform parameter. Check it and try again.
2160 Invalid PidConfig parameter. Check it and try again.
2170 The parameter configuration of HTTP Response Header is invalid. Modify it and try again.
2171 The length of HTTP Response Header exceeds the system limit. Modify it and try again.
2180 The parameter configuration of Extension is invalid. Modify it and try again.
3000 Invalid certificate. Check it and try again.
3001 Failed to parse the certificate information. Check it and try again.
3002 The certificate does not match the corresponding domain name information. Check it and try again.
3003 The certificate does not match the corresponding private key information. Check it and try again.
3004 The certificate has expired. Check it and try again.
3005 The certificate is about to expire. Check it and try again.
3006 Incorrect certificate chain. Check it and try again.
9000 Invalid time parameter. Check it and try again.
9001 Invalid Metirc parameter. Check it and try again.
9002 Invalid ProjectID parameter. Check it and try again.
10000 A system error occurred with the DSA configuration. Modify it and try again.
10100 DSA configuration parameter is invalid. Modify it and try again.
10101 Version of the DSA configuration is invalid. Modify it and try again.
10102 Action of the DSA configuration is invalid. Modify it and try again.
10103 Token of the DSA configuration is invalid. Modify it and try again.
10104 The domain name of the DSA configuration has been deactivated. Check it and try again.
10105 The domain name of the DSA configuration is available. Check it and try again.
10106 DSA configuration is in an invalid JSON format. Check it and try again.
10107 The domain name of the DSA configuration does not exist. Check it and try again.
10108 HOST of the DSA configuration is invalid. Check it and try again.
10109 The origin server of the DSA configuration is invalid. Modify it and try again.