Error code descriptions

更新时间:
复制 MD 格式

When an error occurs, OpenSearch returns an error code and an error message. Use the error code to identify the cause and apply the fix described in this reference.

Common errors

The following errors are frequently encountered. Each entry describes the cause and the recommended action.

Error codeDescriptionAction
1000Timeout error.Retry the request. If the error persists, submit a ticket.
2112A feature function in the sort expression — such as text_relevance(field) or fieldterm_proximity(field) — references a field that is not a source index field of the query. Search results are not affected.Update the sort expression to reference a valid source index field.
3007API operations for pushing data are called too frequently.Reduce the rate at which you call data push API operations.
4003Signature verification failed.Use the sample document to verify that the same signature result is produced. If the signature is correct, check that common parameters (uppercase) are sorted before request parameters (lowercase) in alphabetical order, and that spaces are encoded correctly. For details, see the authorization documentation.
4007Failed to parse JSON. The JSON field may contain unescaped double quotation marks (") or non-printable characters.Escape the problematic characters or add a filter condition, then retry.
4010The TimeStamp parameter format or value is invalid.Set TimeStamp to the current time in the required format.
5001The user does not exist. The AccessKey pair or the API endpoint may be invalid.Verify your AccessKey pair and API endpoint. To find the API endpoint, log on to the OpenSearch console, go to Instance Management, find the application, click Details in the Actions column, and view the value in the API Endpoint section.
5008The AccessKey pair is disabled.Log on to the OpenSearch console and enable your AccessKey pair on the AccessKey management page.
6013The sum of start and hit exceeds 5000. No results are returned.Make sure start + hit ≤ 5000. For result sets larger than 5000, configure a scroll search. See the API reference for scroll search requirements.
6015The request was discarded because the logical computing units (LCUs) of computing resources exceed the purchased quota.Increase the quota: log on to the OpenSearch console, go to Instance Management, find the application, and choose More > Change Specifications/Quotas.
6127The fields referenced in clauses other than query clauses must be configured as attribute fields.Modify the application schema and add the required attribute fields using offline changes. For details, see Modify Offline Application.
7500Internal error.Submit a ticket.

System errors (1000–1999)

Error codeDescription
1000An internal error occurred.
1001The template does not exist.
1003The index type is invalid.
1004The service is unavailable. Try again later.

Application errors (2000–2999)

Error codeDescription
2001The specified application does not exist.
2002The specified application already exists.
2003The number of applications has reached the upper limit.
2004The application name is invalid. The name can be up to 30 characters and contain digits, letters, and underscores (_).
2005The application name is not specified.
2006The new application name is not specified.
2007The description exceeds the maximum length of 300 characters.
2008A summary parameter is invalid.
2009Failed to update the application status.
2010The application is paused.
2011The application is frozen.
2012The application is not started.
2013The delete operation failed because the application does not exist.
2014Failed to upload the file.
2016The region is not specified.
2017The application does not reside in the current region.
2099This operation is unavailable.
2101The expression does not exist.
2102The expression name already exists.
2103The number of expressions in the application has reached the upper limit.
2104The expression name is invalid. The name can be up to 30 characters and contain digits, letters, and underscores (_).
2105The expression name is not specified.
2106The new expression name is not specified.
2107The expression description exceeds the maximum length of 300 characters.
2108The expression description format is invalid.
2109The expression format is invalid.
2110The expression exceeds the maximum length.
2111The expression ID is not specified.
2112The expression is invalid.
2112The sort expression is invalid.
2113The expression is empty.
2114An operation error occurred.
2201The rough sort expression name is not specified.
2202The rough sort expression name already exists.
2203The number of rough sort expressions exceeds the upper limit.
2204The rough sort expression name is invalid. The name can contain only digits, letters, and underscores (_).
2205The rough sort expression name exceeds the maximum length.
2206The fields used for rough sort are not of numeric types.
2207The rough sort expression does not exist.
2208The rough sort expression is invalid. Make sure that fields are specified in the expression.
2209The weight configuration in the rough sort expression is invalid. Weight values must be non-zero numbers in the range [-100000, 100000]. FLOAT values are precise to six decimal places.
2210The name conflicts with the default rough sort expression name in the system.
2211The parameter value in the timeliness() function is not of the INT type.
2551The drop-down suggestion rule specified in the query does not exist.

Document errors (3000–3999)

Error codeDescription
3001The document is empty.
3002The document size exceeds the upper limit.
3003The number of documents has reached the upper limit.
3004Failed to save the document.
3005The document format is invalid.
3006The command used to process the document is invalid.
3007Too many requests were submitted in a short period of time.
3008The document size is too large.
3009No document ID is specified.
3011Pushing documents via API operations is not supported after an ApsaraDB RDS for MySQL or MySQL data source is configured.
3012The specified resource does not exist.
3013The document push rate exceeds the maximum threshold set for the application.
3014The document push rate exceeds the system limit.
3015The number of documents pushed per request exceeds the upper limit.
3016The total number of documents in the application exceeds the upper limit.

Authorization errors (4000–4999)

Error codeDescription
4001Authentication failed.
4002No signature is configured.
4003Signature verification failed.
4004The SignatureNonce parameter is not specified.
4005The SignatureNonce value is not unique.
4006SignatureNonce verification failed.
4007Failed to parse JSON.
4008No username is specified. Check that the domain name is correct.
4009The user ID is not specified.
4010The timestamp is invalid.
4011This operation is not allowed for a demo account.
4012The specified table does not exist.
4013The timestamp format is invalid.
4014The Timestamp parameter is not specified.
4020RAM user authentication failed.

User errors (5000–5999)

Error codeDescription
5001The user does not exist.
5002The username is invalid.
5003You are not logged on.
5004You have overdue payments.
5005The OpenSearch service is not activated. Activate it on the Alibaba Cloud official website.
5006The specified application is frozen due to overdue payments.
5008The AccessKey pair is disabled.
5009The user is deleted.
5010The AccessKey pairs are disabled.
5011Multiple users are registered with the same email address.
5012CODE_USER_ALIYUN_USER_ID_INVALID. No error message is returned.
5013CODE_USER_ALIYUN_BID_INVALID. No error message is returned.
5014CODE_USER_CLIENT_ID_INVALID. No error message is returned.
5015CODE_USER_ID_INVALID. No error message is returned.
5100You are not authorized to perform operations in this region.

Search errors (6000–6999)

Error codeDescription
2022The application version is unavailable. Reindexing is not complete for this version.
6001No search query is entered.
6002The keyword used to search for a key is invalid.
6003The keyword used to search for a field is invalid.
6004Complex queries are not specified.
6005The field is invalid.
6006The request contains too many application names.
6007The total number of indexes in each template for a multi-index query exceeds the upper limit.
6008Failed to parse the request due to a syntax error.
6009The query clause is too long.
6010The rerank size is invalid.
6011The SignatureNonce format is invalid.
6013The sum of start and hit exceeds the upper limit.
6014The request was discarded because the system is busy.
6015The request was discarded because the LCUs of computing resources exceed the purchased quota.
6016The request was discarded because the number of query hits exceeds the upper limit. The valid range is [0, 500].
6017The scroll parameter is specified, but search_type is not set to scan.
6018The scroll parameter is specified, but search_type is not specified.
6019Failed to parse the scroll_id parameter.
6020The scroll parameter value is invalid.
6021The aggregate, sort, or distinct clause is not supported in scroll requests.
6022The scroll_id value has expired.
6024The hit parameter value in the drop-down suggestion is invalid.
6031The abtest parameter value is invalid.
6033The re_search parameter value is invalid.
6034The biz parameter value is invalid.
6100No search query is specified.
6101The index field referenced in the query does not exist.
6102The numeric value range in the query clause is invalid.
6103The return value of the expression in the filter clause is not of the BOOLEAN type.
6104The return value of the expression in the sort clause is of the BOOLEAN type.
6105The sort clause contains duplicate expressions.
6106The query clause in the query is invalid.
6107The return value of the statistical function is of the BOOLEAN or STRING type.
6108The range in the statistical function is not in ascending order.
6109The data type of the value returned by the range expression in the statistical function is invalid.
6110The statistical function does not exist.
6111The statistical function is invalid.
6112The query clause is invalid.
6113The filter clause is invalid.
6114The aggregate clause is invalid.
6115The sort clause is invalid.
6116The distinct clause is invalid.
6117The query contains unknown clauses.
6118A syntax error occurred.
6119The dist_count value in the distinct clause is invalid. This value must be an integer greater than 0.
6120The dist_times value in the distinct clause is invalid. This value must be an integer greater than 0.
6121The reserved parameter in the distinct clause is invalid. This parameter must be set to true or false.
6122The distinct_key parameter is not specified in the distinct clause.
6123The grade value in the distinct clause is invalid — for example, it is blank or set to a non-numeric value.
6124The distinct value in the distinct clause is invalid. The value must be in the range (0, 2].
6125The max_item_count value in the distinct clause is invalid. This value must be an integer greater than 0.
6126The update_total_hit parameter in the distinct clause is invalid. This parameter must be set to true or false.
6127The request contains undefined attribute fields. Modify the application schema and try again. For details, see Modify Offline Application.
6128The data types of the operands surrounding the binary operator in the expression are different.
6129Both operands surrounding the binary operator in the expression are constants.
6130The value type of the binary logic operation expression is invalid. The value must be of the BOOLEAN type.
6131The values in the binary expression are of the STRING type, which is not supported.
6132The values in the binary expression are of the ARRAY type, which is not supported.
6133The value type of the bit manipulation is invalid.
6134The data type of the value returned by the constant expression is invalid.
6135The value type of the constant expression is invalid.
6136The clause uses an invalid expression — for example, sort=-2, where -2 is a constant.
6140A syntax error occurred in the aggregate clause. The SUM function does not support fields of the LITERAL type.
6300The values in the constant expression are not integers or floating-point numbers.
6301The operands for bitwise negation are not integers.
6302The operands for negation are not numbers.
6303The operands for the logical NOT operation are not numbers.
6304The data type of the operand for the binary operation is invalid.
6305The binary operator is invalid.
6306The parameter type of the function is invalid.
6307The function is undefined.
6308The number of parameters in the function is invalid.
6309The array operation is invalid.
6310No field can be filtered.
6311An array field is used as a single-value field.
6312A single-value field is used as an array field.
6313The subscript value of the array field is invalid. The subscript value must be greater than or equal to 0.
6314The field type is invalid.
6315The parameter that specifies an index field does not exist.
6316No index is specified in the query.
6317A formula is used more than once in the filter clause. Each formula can be used only once per filter clause.
6318Failed to parse the formula syntax.
6400The sort script does not exist.
6450An error occurred while using the script.
6500The search syntax references fields that do not exist.
6501No index data is in the online system.
6502The query syntax is invalid.
6503The default operator OR is not supported.
6504Accurate statistics are not supported.
6505The rank size is invalid.
6506Query analysis returned too many terms.
6601An index field is included in more than one rule. Each index field can appear in only one rule.
6602No search query is specified — for example, default:" is specified.
6603The index field in the query is not specified in the query analysis rule.
6604The keyword is not enclosed in single quotation marks — for example, default:xxx is specified. The correct form is default:'xxx'.
6605The keyword is enclosed in double quotation marks ("). Query analysis rules cannot be configured in this case.
6606The search query does not contain the index that needs to be analyzed.
6607The disable parameter format is invalid.
6608The index field to be disabled based on the disable parameter does not exist.
6609The list of features to be disabled based on the disable parameter does not exist.
6610The query returned by query analysis is empty. This may occur when the original query is empty or contains only stop words.
6611No index field is specified in the query.
6612The intervention data has not taken effect.

Data processing errors (7000–7999)

Error codeDescription
7202The command is invalid. Only UPDATE, ADD, and DELETE are supported.
7301Failed to push data. The primary key field of the document does not exist.
7302Data type mismatch. Failed to push data because the primary key value of the document is invalid.
7303Failed to push data. The document contains multiple primary key values.
7304Failed to push data. The primary key value of the document is empty.
7305Failed to push data. The table name does not exist in the current application.
7500An internal error occurred. Submit a ticket.
7503Failed to push data. The JSON plug-in returned a field value that is not in JSON format. Check the value and retry.
7504Failed to push data. The key corresponding to the field value returned by the JSON plug-in does not exist.
7505A configuration error occurred in the TairLDBExtractor plug-in, causing the connection to Tair to fail. Check that the configuration ID and namespace are valid.
7510Failed to push data. An error occurred in field processing by the KeyValueExtractor plug-in.
7515An error occurred while applying the filter condition.
7520Failed to push data. The single document size exceeds the system limit of 1 MB.
7523Failed to push data. An error occurred in data processing by the StringConnector plug-in.
7524The geo field value is outside the valid range. The longitude value must be greater than 180, and the latitude value must be greater than 90.
7525The geo or range field format is invalid.
7601An error occurred while the task was running. Submit a ticket.
7602No data in the MaxCompute table. Make sure data is generated in the MaxCompute table partitions and retry.
7603An error occurred while configuring an ApsaraDB RDS for MySQL or PolarDB for MySQL data source.
7605A configuration error occurred in Taobao Distributed Data Layer (TDDL).
7607You do not have permissions on the MaxCompute table.
7608A source field does not exist in the MySQL data source.
7803Failed to push data. The document to be updated does not exist.
7805Failed to push data. An error occurred in data processing by the HTML plug-in.
7807The field type and value do not match. The field type conversion failed and the missing value is imputed with a default value.
73106The number of data push operations has reached the upper limit. Increase the quota.

Document internal errors (8000–8999)

Error codeDescription
8001Failed to save the error message.
8002Required parameters are missing.
8003The application does not exist.
8004One or more parameters are invalid.

Template errors (9000–9999)

Error codeDescription
9001The username is not specified.
9002The application name is not specified.
9003The template name is invalid. The name can contain only digits, letters, and underscores (_).
9004The template name exceeds the maximum length of 30 characters.
9005An error occurred while querying the template information.
9006The template name already exists.
9007An error occurred while inserting data into the template.
9008The data is invalid.
9009The number of defined fields exceeds the system limit.
9010The field name is reserved.
9011The field name already exists.
9012The index name does not meet the requirements. An index name can be up to 30 characters, must start with a letter, and can contain digits, letters, and underscores (_). Multi-value fields cannot be of the SWS_TEXT or TEXT type.
9013Arrays are not supported.
9014Primary keys are not supported.
9015No primary key is specified.
9016The primary key is not unique.
9017Failed to update the information.
9018Failed to delete the information.
9019The number of search fields exceeds the upper limit. The maximum number of search fields that contain multiple index fields is four.
9020An index field of the STRING or TEXT type is used in multiple single-field search fields.
9021The index name does not meet the requirements. An index name can be up to 30 characters, must start with a letter, and can contain digits, letters, and underscores (_).
9022This table is associated with another table.
9023The index name references fields of different types, which is not allowed.
9100An internal error occurred.
9101The number of fields exceeds the upper limit.
9102This data source is not in use.
9103The connection to the secondary table is invalid.
9104The number of association levels exceeds the upper limit of two.
9105The template to be checked does not exist.
9501The username is not specified.
9502The application name is not specified.
9519The template is not specified.
9600An internal error occurred.
9902The field type of the plug-in is invalid.
9999This service is unavailable for this domain name.

Data synchronization errors (10000 and above)

Error codeDescription
10001Failed to get the TDDL information because the TDDL group key is not specified.
10002Failed to get the field, or the table does not exist.
10010Specific data sources contain invalid data. The invalid data is ignored.
10011Failed to connect to Aggregator.
10012The application contains documents.
10013The application schema is not a custom one.
10014The data source type is invalid.
10100Failed to create the task. Specific tasks are in progress.
10101The application ID is not specified.
10102The action is invalid.
10106The application ID is not specified.
10107The application ID is not specified.
10110The task is complete.
10112The number of documents exceeds the upper limit.
10201Failed to get the quota list.
10202Failed to update the quota.
10301One or more required parameters are not specified or have invalid formats.
10302The time parameter is invalid.
10303No data source is configured.
10304The quota for this table exceeds the upper limit.
10305An Object Storage Service (OSS) parameter is invalid.
10306The OSS bucket name is invalid.
10307The OSS record type is invalid.
10308The logging feature of the OSS bucket is disabled.
10309Specific tasks are in progress.
10310The application is not running. Tasks cannot be created.
10311The time range is invalid.
10312The application description exceeds the maximum length of 600 characters.
10313The OSS content format is invalid.
10314Failed to access the access control list (ACL) in the region where the OSS bucket resides.
10315The OSS bucket endpoint is invalid.
10330Data source parameters are invalid.
10350Failed to connect to the MaxCompute data source.
10351An error occurred in the MaxCompute data source.
10400The OSS bucket name prefix is invalid.
10450The field does not exist.