Error codes
If a request fails, an error code and an error message are returned. You can use this topic to identify the cause of the error and make corrections promptly so that your requests succeed.
Common errors and solutions
Error code | Solution |
1000 | This error is usually caused by a timeout. Retry the request and check whether the error persists. If the error persists, submit a ticket. On-duty staff will troubleshoot the issue as soon as possible. |
3007 | The system limits the frequency of API push requests. Control the request frequency and retry. |
4003 | First, use the sample in the documentation to check whether your signature result matches, which helps determine whether the issue is caused by the signature algorithm. If it is not, check that after the parameters are sorted in lexicographical order, the common parameters (uppercase letters) come first and the request parameters (lowercase letters) come after. In addition, there are encoding rules for spaces and other characters. For more information, see the authorization documentation. |
4007 | Format parsing usually fails when the content of a JSON field contains double quotation marks or invisible characters. Escape or filter these characters and retry. |
5001 | No corresponding user is found. This error is usually caused by incorrect AccessKey information or an incorrect regional endpoint. (For the API endpoint, refer to Application Management > Basic Information > API Endpoint.) Check and correct the information, and then retry. |
5008 | The service verifies user identity based on AccessKey pairs. Make sure that the AccessKey pair is enabled. You can create and delete AccessKey pairs on the AccessKey management page in the console. |
7500 | An internal system error occurred. If this error is reported, submit a ticket. We will troubleshoot the issue as soon as possible. |
System-level errors (1000-1999)
Error code | Description |
1000 | An internal system error occurred. |
1001 | The template is not found. |
1004 | The service is temporarily unavailable. Try again later. |
Application-related errors (2000-2999)
Error code | Description |
2001 | The application to be queried does not exist. |
2002 | The application already exists. |
2004 | The application name is invalid. The application name can contain digits, the 26 English letters, and underscores (_), and can be up to 30 characters in length. |
2005 | The application name is not specified. |
2006 | The new application name is not specified. |
2007 | The remarks cannot exceed 300 characters. |
2009 | Failed to update the status. |
2016 | The region information is missing. |
2017 | The application does not belong to the current region. |
2099 | The current API operation is temporarily unavailable. |
Document-related errors (3000-3999)
Error code | Description |
3001 | The document cannot be empty. |
3002 | The document size exceeds the limit. |
3003 | The maximum number of documents has been reached. |
3004 | Failed to save the document. |
3005 | The doc format is invalid. |
3006 | The document operation cmd is invalid. |
3007 | Requests are too frequent. |
3008 | The total length of the documents is too long. |
3009 | The document ID is missing. |
3012 | The specified resource is not found. |
3013 | The document push rate exceeds the application quota. |
3014 | The document push rate has triggered the system limit. |
3015 | The number of documents pushed at a time exceeds the system limit. |
3016 | The total number of documents exceeds the application quota. |
Authorization-related errors (4000-4999)
Error code | Description |
4001 | Authentication failed. |
4002 | A signature must be specified. |
4003 | Signature verification failed. |
4004 | SignatureNonce must be specified. |
4005 | SignatureNonce cannot be reused. |
4006 | SignatureNonce verification failed. |
4007 | Failed to parse the JSON format. |
4008 | The username cannot be empty. Check whether the endpoint is correct. |
4009 | A user identifier must be specified. |
4010 | The time has expired. |
4011 | This operation is not allowed for a demo account. |
4020 | Authentication failed for the RAM user. |
User-related errors (5000-5999)
Error code | Description |
5001 | The user does not exist. |
5002 | The username is incorrect. |
5003 | User logon is required. |
5008 | The user has not enabled an AccessKey pair. |
5100 | The user does not have permissions to perform operations in this region. |
5004 | The user has not made the payment. |
5005 | The user has not activated OpenSearch. Go to the Alibaba Cloud official website to activate the service. |
5006 | The account is frozen due to overdue payments. |
5008 | The user has not enabled an AccessKey pair. |
5009 | The user has been deleted. |
5010 | The AccessKey pair has been disabled. |
5011 | Multiple users are found by email address. |
5012 | CODE_USER_ALIYUN_USER_ID_INVALID. The error message is empty. |
5013 | CODE_USER_ALIYUN_BID_INVALID. The error message is empty. |
5014 | CODE_USER_CLIENT_ID_INVALID. The error message is empty. |
5015 | CODE_USER_ID_INVALID. The error message is empty. |
5100 | The user does not have permissions to perform operations in this region. |
Data processing-related errors (7000-7999)
Error code | Description |
7202 | The cmd is not supported. The command is not supported, such as a cmd other than update, add, or delete. |
7301 | The document primary key field does not exist. The document primary key does not exist, and the push failed. |
7302 | The target type does not match. The document primary key is invalid, and the push failed. |
7303 | The document primary key has multiple values. The document primary key value does not support multi-value types, and the push failed. |
7304 | The document primary key field is empty. The document primary key value is empty, and the push failed. |
7305 | A table that does not belong to this application was pushed. The document table name does not exist, and the push failed. |
7500 | An internal system error occurred. If this error is reported, submit a ticket. We will troubleshoot the issue as soon as possible. |
7520 | The size of a single document exceeds 1 MB. The single document is too long and exceeds the system limit, and the push failed. |
7503 | The content of the field that corresponds to the JSON plug-in is not JSON. The content of the JSON plug-in field is not in the JSON format, and the push failed. Check the content and retry. |
7504 | The key that corresponds to the content of the JSON plug-in field does not exist, and the push failed. |
7515 | An error occurred when the filter condition was executed. |
73106 | The push exceeds the quota. Scale out is required. |
7620 | The data source query timed out. |