file type document is not supported #6290

Closed
opened 2026-02-21 18:15:00 -05:00 by yindo · 4 comments
Owner

Originally created by @wangshiyang on GitHub (Oct 24, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.10.1

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. upload pdf file: test.pdf
  2. run workflow.
image image

✔️ Expected Behavior

Properly parse pdf files.

Actual Behavior

Return Run failed: file type document is not supported

Originally created by @wangshiyang on GitHub (Oct 24, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.10.1 ### Cloud or Self Hosted Cloud ### Steps to reproduce 1. upload pdf file: test.pdf 2. run workflow. 3. <img width="1397" alt="image" src="https://github.com/user-attachments/assets/1bae3c0a-4039-48c4-ae03-89fc4372edb6"> <img width="1396" alt="image" src="https://github.com/user-attachments/assets/4e947cec-73a1-43f3-8dda-a01bb89cd94b"> ### ✔️ Expected Behavior Properly parse pdf files. ### ❌ Actual Behavior Return Run failed: file type document is not supported
yindo added the 🐞 bug label 2026-02-21 18:15:00 -05:00
yindo closed this issue 2026-02-21 18:15:00 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 24, 2024):

@wangshiyang Hello there! I'm here to help you solve bugs, answer questions, and even become a contributor. Feel free to ask for assistance while waiting for a human maintainer.

There is a similar closed issue titled "LLM Run failed: file type document is not supported" that was resolved by a pull request [1]. Additionally, there was another issue related to PDF indexing, which suggested switching to Unstructured ETL by configuring the appropriate environment variables:

  • Set ETL_TYPE to Unstructured
  • Configure UNSTRUCTURED_API_URL

Example configuration:

ETL_TYPE=Unstructured
UNSTRUCTURED_API_URL=http://unstructured:8000/general/v0/general

This configuration should help resolve the issue with parsing PDF files [2].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Oct 24, 2024): <!-- Greeting --> @wangshiyang Hello there! I'm here to help you solve bugs, answer questions, and even become a contributor. Feel free to ask for assistance while waiting for a human maintainer. <!-- Answer --> There is a similar closed issue titled "LLM Run failed: file type document is not supported" that was resolved by a pull request <sup>[[1]](https://github.com/langgenius/dify/issues/9582)</sup>. Additionally, there was another issue related to PDF indexing, which suggested switching to Unstructured ETL by configuring the appropriate environment variables: - Set `ETL_TYPE` to `Unstructured` - Configure `UNSTRUCTURED_API_URL` Example configuration: ```env ETL_TYPE=Unstructured UNSTRUCTURED_API_URL=http://unstructured:8000/general/v0/general ``` This configuration should help resolve the issue with parsing PDF files <sup>[[2]](https://github.com/langgenius/dify/issues/7631)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Oct 24, 2024):

Please read the docs https://docs.dify.ai/guides/workflow/node/doc-extractor

@crazywoola commented on GitHub (Oct 24, 2024): Please read the docs https://docs.dify.ai/guides/workflow/node/doc-extractor
Author
Owner

@wangshiyang commented on GitHub (Oct 24, 2024):

Please read the docs https://docs.dify.ai/guides/workflow/node/doc-extractor
In that case, does it mean the vision functionality can't be used anymore? If we want to continue using vision, we must upload an image, right?
image

@wangshiyang commented on GitHub (Oct 24, 2024): > Please read the docs https://docs.dify.ai/guides/workflow/node/doc-extractor In that case, does it mean the vision functionality can't be used anymore? If we want to continue using vision, we must upload an image, right? <img width="435" alt="image" src="https://github.com/user-attachments/assets/ac625c3e-5b58-49d4-ac93-12f06cabdc27">
Author
Owner

@duy1851999 commented on GitHub (Feb 3, 2026):

How about handle Run failed: file type parameter input not supported in agent

@duy1851999 commented on GitHub (Feb 3, 2026): How about handle Run failed: file type parameter input not supported in agent
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6290