Error Codes

Last updated: 2020-03-04 12:13:57

Feature Description

If an API call fails, you can reference the error code to check the error information.

  • code is a common error code applicable to all APIs. If code is 0, the call succeeded; otherwise, the call failed, and you can determine the cause of the error and take corresponding actions based on the list of common error codes.
  • message describes the error.
    Each error consists of two parts: the content in the () is the error code, and the content after the () is the specific error description. You can determine the cause of the error and take corresponding actions based on the error code list.

Sample:

{
    "code": 5100,
    "message": "(100004) incorrect projectId"
}

Error Codes

Common errors

Error Code Type Description
4000 Invalid request parameter A required parameter is missing, or the parameter value is incorrectly formatted. For detailed error information, please see the `message` field.
4100 Authentication failed Signature authentication failed. For more information, please see the Authentication section in the documentation.
4200 Request expired The request has expired. For more information, please see the Request Validity Period section in the documentation.
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 Tencent server time should not be greater than 2 hours.
4600 Unsupported protocol The protocol is not supported. For more information, please see the documentation.
5000 The resource does not exist The instance corresponding 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, please see the `message` field. Please try again later or submit a ticket for assistance.
5200 Resource purchase failed Failed to purchase the resource. Possible causes include unsupported instance configuration or insufficient resources.
5300 Resource purchase failed 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, please 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 submit a ticket 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, please 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.
100193 Payment failed Orders in the same purchase should be paid for together.

Action-specific errors

Error codes for project creation, deletion, and update

Error Code Description Solution
1000 The record does not exist -
1006 The APPID does not exist Please check whether the APPID is correctly entered.
1007 Invalid user Please submit a ticket for assistance.
1015 The maximum limit of user-created projects has been reached Exceeds the maximum limit of 500.
1036 The project name already exists Please change the project name.
1072 Unavailable project The project has been disabled. Please submit a ticket for assistance.
9003 No project name Please enter a project name.

Error codes for project query

Error Code Description Solution
9003 Incorrect query parameter -
1000 No project ID -