You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.15.3,When upload documents to the knowledge base through the document api create_by_file, there may be situations where the documents are available without being indexed
#15161
Open
5 tasks done
ccooder opened this issue
Mar 7, 2025
· 3 comments
Regarding your issue, there are known limitations with the create_by_file API in version 0.15.3 that might be related to your problem. The API supports only single file uploads, and files must be 15MB or smaller. Additionally, the self-hosted Docker version does not support PPTX files, even though the official API does [3].
The Dify platform determines when a document is fully indexed by checking the document's indexing status. You can verify the indexing status using the following API call:
curl --location --request GET 'https://api.dify.ai/v1/datasets/{dataset_id}/documents/{batch}/indexing-status' \
--header 'Authorization: Bearer {api_key}'
This will provide the current status of the document indexing process. The possible indexing_status values include waiting, parsing, cleaning, splitting, indexing, paused, error, and completed[4][5].
If a document is marked as available but not indexed, it might be due to an error in the indexing process. Specific error messages such as document_indexing, unsupported_file_type, or file_too_large can indicate issues [4][6].
You might want to check the indexing status and error messages to diagnose the issue further.
Self Checks
Dify version
0.15.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Just use document's api create_by_file
At first, it's worked, but then the situation shown in the title will appear
✔️ Expected Behavior
The uploaded file will Indexing and avavilable
❌ Actual Behavior
Although the status is available, the file does not have any segmentation because it becomes available immediately after the interface is called
The text was updated successfully, but these errors were encountered: