Updated on 2025-08-13 GMT+08:00

Error Codes

If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.

Status Code

Error Code

Error Message

Description

Handling

400

KOS.00010001

Invalid JSON format.

Invalid JSON format.

Modify the parameters based on the displayed information.

400

KOS.00010002

Invalid request parameters.

Invalid request parameters.

Modify the parameters based on the displayed information.

400

KOS.00010003

Empty request parameters.

Empty request parameters.

Modify the parameters based on the displayed information.

400

KOS.00010004

URL parameter parsing error.

Failed to parse some of the URL parameters.

Modify the parameters based on the displayed information.

400

KOS.00010005

Invalid URL.

Invalid URL.

Modify the URL.

400

KOS.00010006

Invalid parameter type.

Invalid parameter type.

Modify the parameters based on the displayed information.

400

KOS.00020001

Elasticsearch query exception.

Elasticsearch query exception.

Check the Elasticsearch node status.

400

KOS.00020002

Elasticsearch index creation failure.

Elasticsearch index creation failure.

Check the Elasticsearch node status.

400

KOS.00020003

Elasticsearch update error.

Elasticsearch update error.

Check the Elasticsearch node status.

400

KOS.00020004

Elasticsearch index deletion error.

Elasticsearch index deletion error.

Check the Elasticsearch node status.

400

KOS.00020005

Elasticsearch batch deletion error.

Elasticsearch batch deletion error.

Check the Elasticsearch index status.

400

KOS.00020006

Elasticsearch index deletion error.

Elasticsearch index deletion error.

Check the Elasticsearch index status.

400

KOS.00020007

Elasticsearch batch index creation error.

Elasticsearch batch index creation error.

Check the Elasticsearch node status.

400

KOS.00020008

Elasticsearch document deletion error.

Elasticsearch document deletion error.

Check the Elasticsearch node status.

400

KOS.00020009

Elasticsearch document update error.

Elasticsearch document update error.

Check the Elasticsearch node status.

400

KOS.00020010

Elasticsearch batch operation error.

Elasticsearch batch operation error.

Check the Elasticsearch node status.

400

KOS.00020011

Failed to connect to Elasticsearch.

Failed to connect to Elasticsearch.

Check the Elasticsearch node status.

400

kos.00020013

Elasticsearch index configuration update error.

Elasticsearch index configuration update error.

Check the Elasticsearch node status.

400

KOS.00040001

Failed to call the Pangu NLP model.

Failed to call the Pangu NLP model.

The model status is abnormal. Please contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00040002

Failed to call the multi-turn query rewriting service.

Failed to call the multi-turn query rewriting service.

The model status is abnormal. Please contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00040003

Failed to call the document parsing service.

Failed to call the document parsing service.

The document parsing service is unavailable. Please contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

kos.00050003

Failed to write document information to the database.

Failed to write document information to the database.

The database is abnormal. Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

kos.00050004

Failed to upload data to OBS.

Failed to upload data to OBS.

The OBS service is abnormal. Please contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

kos.00050005

JSON processing error.

JSON processing error.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00050006

Files that are being processed cannot be deleted.

Files that are being processed cannot be deleted.

Try again later.

400

kos.00060001

Empty database query result.

Empty database query result.

Empty database query result.

400

kos.00060002

Database operation failed.

Database operation failed.

The database is abnormal. Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

kos.00060003

Update database failed.

Failed to update the database.

The database is abnormal. Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

kos.00060004

The requested resource does not exist.

The requested resource did not exist.

Resources not found.

400

kos.00060005

Model unavailable

The model is unavailable.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00070004

Failed to download the JSON file.

Failed to download the JSON file.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00070005

Failed to write to the JSON file.

Failed to write to the JSON file.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00080001

A knowledge base with the same name already exists.

A knowledge base with the same name already exists.

A knowledge base with the same name already exists.

400

KOS.00080002

The knowledge base cannot be enabled when it is empty.

The knowledge base cannot be enabled when it is empty.

The knowledge base is empty.

400

KOS.00080003

This operation is not allowed when the knowledge base is disabled.

This operation is not allowed when the knowledge base is disabled.

The knowledge base is disabled.

400

KOS.00080004

Chat expired

The chat has expired.

Start a new chat.

400

KOS.00080005

Failed to update the knowledge base.

Failed to update the knowledge base.

Check the service log to troubleshoot.

400

KOS.00090001

Internal error

Internal error.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.

400

KOS.00100002

Insufficient permission.

Insufficient permission.

Contact technical support. Log in to the Huawei Cloud official website. Click Contact Us in the upper right corner to provide a feedback. Technical support will help you quickly diagnose and solve the problem.