All Products
Search
Document Center

OpenSearch:Error codes

Last Updated:Feb 07, 2023

After an error has occurred, an error code and an error message are returned. The following sections describe various errors and provide solutions for you to troubleshoot the errors. This helps ensure your normal use of OpenSearch.

Common errors

Error code

Description

1000

The error code is returned because a timeout error has occurred. Check whether the error persists after you try again. If the error persists, submit a ticket for troubleshooting.

2112

The field referenced in a feature function, such as text_relevance(field) or fieldterm_proximity(field), in a sort expression must be a source index field of a query. Otherwise, an error is returned, but the search results are not affected.

3007

The error code is returned because the system limits the interval at which API operations are called to push data. We recommend that you call API operations at an appropriate interval.

4003

Use the sample document to check whether a same signature result is returned. This method can be used to check whether the error is caused by the signature algorithm. If the error is not caused by the signature algorithm, check whether the common parameters in the uppercase rank before the request parameters in the lowercase after all those parameters are sorted in the alphabetical order. In addition, you can use encoding rules to check spaces. For more information, see the authorization documentation.

4007

A format may fail to be parsed because the JSON field contains double quotation marks ("") or non-printable characters. In this case, use an escape character or specify a filter condition. Then, try again.

4010

The format or value of the TimeStamp parameter is invalid. Set this parameter based on the current time in the valid format.

5001

No matched user is found. This error may be caused because the AccessKey pair is invalid or the API endpoint is invalid. Make sure that the AccessKey pair and the API endpoint are valid, and try again. To view the API endpoint, perform the following steps: Log on to the OpenSearch console. In the left-side navigation pane, click Applications. Find the application that you want to manage, and then click Details in the Actions column. In the Basic instance information section, view the API endpoint.

5008

OpenSearch verifies your identity by using the AccessKey pair. Make sure that your AccessKey pair is enabled. You can log on to the OpenSearch console and create or delete an AccessKey pair on the AccessKey Management page.

6013

The sum of the values of the start and hit parameters cannot exceed 5000. Otherwise, an error is returned and no result is returned. For requests in which the sum of the values of the start and hit parameters exceeds 5000, check whether the configuration of the SCROLL operation in the API reference meets the requirements.

6015

The request was discarded because the number of logical computing units (LCUs) consumed per second has reached the purchased quota. To increase the quota, log on to the OpenSearch console, find your application in the application list, and then choose More > Change Specifications/Quotas in the Actions column.

6127

The fields referenced in clauses other than query clauses must be configured as attribute fields for use. Modify the application schema and try again. You can configure the attribute fields by performing offline changes. For more information, see Modify Offline Application.

7500

An internal error has occurred. Submit a ticket.

System errors whose error codes range from 1000 to 1999

Error code

Description

1000

An internal error has occurred.

1001

No template was found.

1003

The index type is invalid.

1004

The service is unavailable. Try again later.

Application-related errors whose error codes range from 2000 to 2999

Error code

Description

2001

The application does not exist.

2002

The application already exists.

2003

The application quota has been reached.

2004

The application name is invalid. The application name can be up to 30 characters in length, and can contain digits, letters, and underscores (_).

2005

The application name is not specified.

2006

The new application name is not specified.

2007

The remarks cannot exceed 300 characters in length.

2008

A summary parameter is invalid.

2009

The status failed to be updated.

2010

The application is suspended.

2011

The application is frozen.

2012

The application is not started.

2013

The deletion failed because the application does not exist.

2014

The file failed to be uploaded.

2016

The region is not specified.

2017

The application does not reside in the current region.

2099

This operation cannot be called.

2101

The expression does not exist.

2102

The expression name already exists.

2103

The expression quota of the application has been reached.

2104

The expression name is invalid. The expression name can be up to 30 characters in length, and can contain digits, letters, and underscores (_).

2105

The expression name is not specified.

2106

The new expression name is not specified.

2107

The expression remarks cannot exceed 300 characters in length.

2108

The remarks format of the expression is invalid.

2109

The expression format is invalid.

2110

The expression length exceeds the upper limit.

2111

The expression ID is not specified.

2112

The expression is invalid.

2113

The expression cannot be empty.

2114

An operation error has occurred.

2201

The name of the rough sort expression is not specified.

2202

The name of the rough sort expression already exists.

2203

The number of rough sort expressions exceeds the upper limit.

2204

The name of the rough sort expression is invalid. The name can contain only digits, letters, and underscores (_).

2205

The length of the name of the rough sort expression exceeds the upper limit.

2206

The fields used for rough sort must be of numeric values.

2207

The rough sort expression does not exist.

2208

The rough sort expression does not contain fields.

2209

The weight configuration in the rough sort expression is invalid. Make sure that a weight value is a non-zero numeric value that ranges from -100000 to 100000. A numeric value of the FLOAT type can be precise to six decimal places.

2210

The name has been used by the default rough sort expression in the system.

2211

The parameter value in the timeliness() function must be of the INT type.

2112

The sort expression is invalid.

2551

The drop-down suggestion rule specified in the query does not exist.

Document-related errors whose error codes range from 3000 to 3999

Error code

Description

3001

The document is empty.

3002

The document size exceeds the upper limit.

3003

The maximum number of documents has been reached.

3004

The document failed to be saved.

3005

The document format is invalid.

3006

The command that is used to process the document is invalid.

3007

Excessive requests are submitted in a short period of time.

3008

The document size is excessively large.

3009

No document ID is specified.

3011

After an ApsaraDB RDS for MySQL or MySQL data source is configured, operations cannot be called to push documents.

3012

The specified resource is not found.

3013

The rate at which documents are pushed exceeds the maximum threshold specified in the application.

3014

The rate at which documents are pushed is limited by the system.

3015

The number of documents pushed each time exceeds the upper limit.

3016

The document quota of the application has been reached.

Authorization-related errors whose error codes range from 4000 to 4999

Error code

Description

4001

The authentication failed.

4002

A signature must be set.

4003

The signature failed the verification.

4004

The SignatureNonce parameter must be set.

4005

The value of the SignatureNonce parameter must be unique.

4006

The SignatureNonce verification failed.

4007

The JSON format failed to be parsed.

4008

No username is specified. Check whether the domain name is correct.

4009

The user ID must be specified.

4010

The timestamp is invalid.

4011

This operation is not allowed by a demo account.

4012

The table does not exist.

4013

The timestamp format is invalid.

4014

The Timestamp parameter must be set.

4020

The RAM user failed to be authenticated.

User-related errors whose error codes range from 5000 to 5999

Error code

Description

5001

The user does not exist.

5002

The username is invalid.

5003

You must have logged on.

5008

The AccessKey pair is disabled.

5100

The user is not authorized to perform operations in this region.

5004

The user has overdue payments.

5005

OpenSearch has not been activated. Go to the Alibaba Cloud official website to activate the service.

5006

The application is frozen due to overdue payments.

5008

The AccessKey pair is disabled.

5009

The user has been deleted.

5010

The AccessKey pair is disabled.

5011

Multiple users are registered by using the same email address.

5012

CODE_USER_ALIYUN_USER_ID_INVALID. No error message is returned.

5013

CODE_USER_ALIYUN_BID_INVALID. No error message is returned.

5014

CODE_USER_CLIENT_ID_INVALID. No error message is returned.

5015

CODE_USER_ID_INVALID. No error message is returned.

5100

The user is not authorized to perform operations in this region.

Search-related errors whose error codes range from 6000 to 6999

Error code

Description

6001

No query is entered.

6002

The keyword for searching for a key is invalid.

6003

The keyword for searching for a field is invalid.

6004

Complex queries are not specified.

6005

The field is invalid.

6006

Excessive application names are contained in the request.

6007

The total number of indexes in each template for a multi-index query has been reached.

6008

The request failed to be parsed due to a syntax error.

6009

The query clause is too long.

6010

The rerank size is invalid.

6011

The SignatureNonce format is invalid.

6013

The sum of the values of the start and hit parameters exceeds the upper limit.

6014

The request was discarded because the system is busy.

6015

The request was discarded because the number of LCUs consumed per second has reached the purchased quota.

6016

The number of query hits exceeds the upper limit.

6017

After the scroll parameter is set, the search_type parameter must be set to scan.

6018

The scroll parameter is set, but the search_type parameter is not set.

6019

The scroll_id parameter failed to be parsed.

6020

The value of the scroll parameter is invalid.

6021

A scroll request does not support the aggregate, sort, or distinct clause.

6022

The value of the scroll_id parameter has expired.

6024

The value of the hit parameter in the drop-down suggestion is invalid.

6031

The value of the abtest parameter is invalid.

6033

The value of the re_search parameter is invalid.

6034

The value of the biz parameter is invalid.

6100

No search query is specified.

6101

The index field of the query does not exist.

6102

The numerical value range in the query clause is invalid.

6103

The return value of the expression in the filter clause must be of the BOOLEAN type.

6104

The return value of the expression in the sort clause cannot be of the BOOLEAN type.

6105

Same expressions are contained in the sort clause.

6106

The query clause in the query is invalid.

6107

The return value of the statistical function cannot be of the BOOLEAN or STRING type.

6108

The range specified in the statistical function must be in ascending order.

6109

The data type of the value returned by the range expression in the statistical function is invalid.

6110

The statistical function does not exist.

6111

The statistical function is invalid.

6112

The query clause is invalid.

6113

The filter clause is invalid.

6114

The aggregate clause is invalid.

6115

The sort clause is invalid.

6116

The distinct clause is invalid.

6117

The query contains unknown clauses.

6118

A syntax error has occurred.

6119

The value of the dist_count parameter in the distinct clause is invalid. This value must be an integer greater than 0.

6120

The value of the dist_times parameter in the distinct clause is invalid. This value must be an integer greater than 0.

6121

The value of the reserved parameter in the distinct clause is invalid. This parameter must be set to true or false.

6122

The distinct_key parameter in the distinct clause must be set.

6123

The value of the grade parameter in the distinct clause is invalid. This parameter must be set to empty or a non-numeric value.

6124

The value of the distinct parameter in the distinct clause is invalid. The value range must be (0, 2].

6125

The value of the max_item_count parameter in the distinct clause is invalid. This value must be an integer greater than 0.

6126

The value of the update_total_hit parameter in the distinct clause is invalid. This parameter must be set to true or false.

6127

Specific attribute fields in the request are not defined. Modify the application schema and try again. You can configure the attribute fields by performing offline changes. For more information, see Modify Offline Application.

6128

The data types of the operands that surround the binary operator in the expression are different.

6129

The operands that surround the binary operator in the expression cannot be constants at the same time.

6130

The value type of the binary logic operation expression is invalid. The value must be of the BOOLEAN type.

6131

The values in the binary expression cannot be strings.

6132

The values in the binary expression cannot be arrays.

6133

The value type of the bitwise operation is invalid.

6134

The data type of the value returned by the constant expression is invalid.

6135

The value type of the constant expression is invalid.

6140

Aggregate clause syntax error.

The field type is LITERAL, and the SUM function is not supported.

6300

The values in the constant expression must be integers or floating-point numbers.

6301

The operands on which you want to perform bitwise negation must be integers.

6302

The operands on which you want to perform negation must be numbers.

6303

The operands on which you want to perform logical NOT operations must be numbers.

6304

The data type of the operand on which the binary operation was performed is invalid.

6305

The binary operator is invalid.

6306

The parameter type of the function is invalid.

6307

The function is undefined.

6308

The number of parameters in the function is invalid.

6309

The array function is invalid.

6310

No field can be filtered.

6311

An array field was mistaken for a single-value field.

6312

A single-value field was mistaken for an array field.

6313

The subscript value of the array field is invalid. Make sure that the subscript value is not less than 0.

6314

The field type is invalid.

6315

The parameter that is used as an index field does not exist.

6316

No index is specified in the query.

6317

A formula can be used only once in a filter clause.

6318

An error has occurred when the formula syntax is parsed.

6400

The sort script does not exist.

6450

An error has occurred when the script is executed.

6500

The search syntax contains fields that do not exist.

6501

No index data is contained in the online system.

6502

The syntax of the query is invalid.

6503

The default operator OR is not supported.

6504

Accurate statistics is not supported.

6505

The rank size is invalid.

6506

An excessive number of terms have been obtained after query analysis.

6601

Each index field can be contained only in one rule.

6602

No search query is specified, such as default:".

6603

The index field in the query is not specified in the query analysis rule.

6604

The keyword is not enclosed in quotation marks ("), such as default:xxx. The valid form is default:'xxx'.

6605

Query analysis rules cannot be configured if the query keyword is enclosed in double quotation marks ("").

6606

This message is prompted because the search query does not contain the index that needs to be analyzed.

6607

The format of the disable parameter is invalid.

6608

The index field that must be disabled based on the disable parameter does not exist.

6609

The list of features that must be disabled based on the disable parameter does not exist.

6610

The query obtained after query analysis is empty. This may be caused because the original query is empty or the original query contains only stop words.

6611

No index field is specified in the query.

6612

term_weight makeup data fail. The intervention did not take effect.

Data processing errors whose error codes range from 7000 to 7999

Error code

Description

7202

The command is invalid. Only UPDATE, ADD, and DELETE commands are supported.

7301

The primary key value of the document does not exist. Data failed to be pushed because the primary key value of the document does not exist.

7302

The data type does not match. Data failed to be pushed because the primary key value of the document is invalid.

7303

The document contains multiple primary key values. Data failed to be pushed because multiple primary key values are contained in the document.

7304

The primary key value of the document is empty. Data failed to be pushed because the primary key value of the document is empty.

7305

Table data that does not belong to the application has been pushed. Data failed to be pushed because the table name does not exist.

7500

An internal error has occurred. Submit a ticket.

7502

Data failed to be pushed because the size of a single document exceeds the upper limit. The size of a single document is up to 1 MB.

7503

Data failed to be pushed because the field value that is obtained by using the JSON plug-in is not of the JSON format. Have a check and try again later.

7504

Data failed to be pushed because the key corresponding to the field value that is obtained by using the JSON plug-in does not exist.

7505

An error has occurred in the TairLDB plug-in. A configuration error has occurred in content conversion by using TairLDBExtractor. The connection to Tair failed. Check whether the configuration ID or namespace is valid.

7510

Data failed to be pushed because an error has occurred in field processing by using the KeyValueExtractor plug-in.

7515

An error has occurred when the filter condition is being executed.

7523

Data failed to be pushed because a processing error has occurred by using the StringConnector plug-in.

7524

The value of the geo field is outside the value range. The longitude or latitude value of the range field is outside the longitude or latitude range. For example, the longitude value is greater than 180 or the latitude value is greater than 90.

7525

The formats of the geo and range fields are invalid.

7601

An error has occurred when the task is running. Submit a ticket.

7602

No data is contained in the MaxCompute table. Make sure that data can be generated in the MaxCompute table partitions and try again.

7607

You have no permissions on the MaxCompute table.

7603

An error has occurred when an ApsaraDB RDS for MySQL or PolarDB for MySQL data source is being configured.

7605

A configuration error has occurred in Taobao Distributed Data Layer (TDDL).

7608

The MySQL data source does not contain an original field.

7803

Data failed to be pushed because the document to be updated does not exist.

7805

Data failed to be pushed because a processing error has occurred in the HTML plug-in.

7807

The field type and value do not match. The field type failed to be converted. The missing value will be imputed with a default value.

73106

The quota for data push has been reached. Increase the quota.

Document errors whose error codes range from 8000 to 8999

Error code

Description

8001

The error message failed to be saved.

8002

The required parameters are missing.

8003

The application does not exist.

8004

The parameter is invalid.

Template-related errors whose error codes range from 9000 to 9999

Error code

Description

9001

The username is not specified.

9002

The application name is not specified.

9003

The template name is invalid. The template name can contain only digits, letters, and underscores (_).

9004

The template name cannot exceed 30 characters in length.

9005

An error has occurred when you query the template information.

9006

The template name already exists.

9007

An error has occurred when you insert data into the template.

9008

The data is invalid.

9009

The maximum number of fields that can be defined in the system has been reached.

9010

The name of this field must be retained.

9011

The field already exists.

9012

The index name must not exceed 30 characters in length. It can contain digits, letters, and underscores (_), and must start with a letter. The multi-value field cannot be of the SWS_TEXT or TEXT type.

9013

Arrays are not supported.

9014

Primary keys are not supported.

9015

No primary key is specified.

9016

The primary key is not unique.

9017

The information failed to be updated.

9018

The information failed to be deleted.

9019

A maximum of four search fields that contain multiple index fields can be used.

9020

An index field of the STRING or TEXT type cannot be used as multiple single-field search fields.

9021

The index name must not exceed 30 characters in length. It can contain digits, letters, and underscores (_), and must start with a letter.

9022

An association has been established with this table.

9023

The index name cannot contain different types of fields.

9100

An internal error has occurred.

9101

The quantity of the field has exceeded the upper limit.

9102

This data source is not used.

9103

The connection to a secondary table is invalid.

9104

A maximum of two association levels can be configured.

9105

The template to be checked does not exist.

9501

The username is not specified.

9502

The application name is not specified.

9519

The template is not specified.

9600

An internal error has occurred.

9902

The field type of the plug-in is invalid.

9999

This service is unavailable for this domain name.

Data synchronization-related error whose error codes range from 10000 upwards

Error code

Description

10001

The TDDL information failed to be obtained because the TDDL group key is not specified.

10002

The field failed to be obtained or the table does not exist.

10011

The connection to Aggregator failed.

10012

The application contains documents.

10013

The application schema is not a custom one.

10110

The task has been completed.

10010

Specific data sources contain invalid data. The invalid data has been ignored.

10014

The data source type is invalid.

10100

The task failed to be created. Specific tasks are in process.

10101

No application ID is specified.

10106

No application ID is specified.

10107

No application ID is specified.

10102

The action is invalid.

10112

The number of documents has exceeded the upper limit.

10201

The quota list failed to be obtained.

10202

The quota failed to be updated.

10301

A parameter error has occurred because the parameter is not specified or the parameter format is invalid.

10302

The time parameter is invalid.

10303

No data source is configured.

10304

The quota for this table has exceeded the upper limit.

10305

The Object Storage Service (OSS) parameter is invalid.

10306

The name of the OSS bucket is invalid.

10307

The OSS record type is invalid.

10308

The log feature of the OSS bucket is disabled.

10309

Specific tasks are in process.

10310

The application is not running. Tasks cannot be created.

10311

The time range is invalid.

10312

The application description exceeds the upper limit in length. The application description can be up to 600 characters in length.

10313

The OSS content format is invalid.

10314

An access control list (ACL) network error has occurred in the region where the OSS bucket resides.

10315

The endpoint of the OSS bucket is invalid.

10330

Data source parameters are invalid.

10350

The connection to the MaxCompute data source failed.

10351

An error message is returned from the MaxCompute data source.

10400

The prefix of the OSS bucket name is invalid.

10450

The field does not exist.

4007

The JSON format failed to be parsed.