Error codes

Updated at:

HTTP Status Codes

Error code

Error message

Description

500

InternalError

internal error

An internal error occurred in the request.

500

InternalError

internal service call exception

An exception occurred during an internal service invocation.

400

InvalidParameter

prompt is empty

The prompt is empty. Check whether the prompt parameter is passed correctly.

400

InvalidParameter

type mismatch

The capability type does not match. Check whether the `capabilityType` parameter meets the API requirements.

400

InvalidParameter

file empty or not exist

The document is empty or does not exist. Check whether the document ID is correct.

400

InvalidParameter

file and workspace mismatch

The document and workspace do not match. Check whether the document was uploaded to the workspace specified in the current request.

400

InvalidParameter

request body format conversion failed

The request body format failed to transform. Check whether the request body complies with the parameter specifications.

400

InvalidParameter

request parameters incorrect

The request parameters are incorrect. Check for missing required parameters.

400

InvalidParameter

file extension empty

The document name extension cannot be empty.

404

NotFound

request path not found

The URI of the request does not exist. Check whether the API path is correct.

400

InvalidParameter

prompt word count exceeds limit

The prompt exceeds the maximum length of 8,000 characters.

400

InvalidParameter.File

file size exceeds limit

The document size exceeds the 100 MB limit.

400

InvalidParameter.File

file page count exceeds limit

The document exceeds the 1,000-page limit.

400

InvalidParameter.File

file resolution exceeds limit

The image resolution exceeds the limit. Images with a resolution greater than 8192 pixels are not supported.

400

InvalidParameter.File

file format not supported

The document format is not supported. Supported formats include PDF, TXT, MD, HTML, DOC, PPT, XLS, PNG, BMP, GIF, JPG, and JPEG.

400

InvalidParameter.File

file content empty

The document content is empty.

400

InvalidParameter.File

file encrypted or corrupted

The document is encrypted or corrupted. Check whether the document can be opened.

400

InvalidParameter.File

exceeds max file upload limit

The number of uploaded documents exceeds the limit. A maximum of 100 documents are supported for a conversation.

400

InvalidParameter.File

upload list is empty

The list of documents to upload is empty.

400

InvalidParameter.File

file processing timeout

The document processing timed out. Retry the operation.

400

InvalidParameter.File

file not support

The document is not supported.

400

InvalidParameter.File

file deleted

The document has been deleted.

400

InvalidParameter.File

file parsing failed

The document failed to parse. Retry the operation.

400

InvalidParameter.File

file parsing in progress

The document is being parsed. Try the conversation again later.

400

InvalidParameter

File lease_id expired or not exist.

The `leaseId` has expired or does not exist. Request a new lease.

400

InvalidParameter.File

submit file failed, unsupported file.

The document failed to submit for parsing because the document type is not supported.

400

Workspace.AccessDenied

Workspace.AccessDenied

The RAM user does not have permission to access the workspace.