doc-extrator can not extra .doc file #13341

Closed
opened 2026-02-21 19:11:44 -05:00 by yindo · 5 comments
Owner

Originally created by @qwfy326 on GitHub (Apr 25, 2025).

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

1.3.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. create a work flow with a start node and a end node.
  2. custom the file type or select the document.

Image

or

Image

  1. run the work flow and choose a file, then start the flow.

✔️ Expected Behavior

extra success

Actual Behavior

Image

Originally created by @qwfy326 on GitHub (Apr 25, 2025). ### 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 1.3.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. create a work flow with a start node and a end node. 2. custom the file type or select the document. ![Image](https://github.com/user-attachments/assets/4d89648e-d37a-48c5-aa0b-745661d213f5) or ![Image](https://github.com/user-attachments/assets/e1f98cfc-759d-4a90-9f81-3caa7a6e49b5) 3. run the work flow and choose a file, then start the flow. ### ✔️ Expected Behavior extra success ### ❌ Actual Behavior ![Image](https://github.com/user-attachments/assets/e366a574-236b-4b07-891f-f792d684821b)
yindo added the 🌚 invalid label 2026-02-21 19:11:44 -05:00
yindo closed this issue 2026-02-21 19:11:44 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 25, 2025):

The issue you're encountering with the doc-extractor not being able to process .doc files in Dify version 1.3.0 is due to missing UNSTRUCTURED_API_URL and UNSTRUCTURED_API_KEY environment variables. Dify requires these variables to interact with the Unstructured API for processing legacy DOC format files.

To resolve this, you need to set the following environment variables in your configuration:

  1. UNSTRUCTURED_API_URL: This should be set to the Unstructured API path, for example, http://unstructured:8000/general/v0/general.
  2. UNSTRUCTURED_API_KEY: This is the authentication key for the Unstructured API service.

Ensure these variables are correctly configured in your environment. You can find these settings in the docker/.env.example file under the Unstructured API configuration section [1][2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 25, 2025): <!-- Answer --> The issue you're encountering with the doc-extractor not being able to process .doc files in Dify version 1.3.0 is due to missing `UNSTRUCTURED_API_URL` and `UNSTRUCTURED_API_KEY` environment variables. Dify requires these variables to interact with the Unstructured API for processing legacy DOC format files. To resolve this, you need to set the following environment variables in your configuration: 1. `UNSTRUCTURED_API_URL`: This should be set to the Unstructured API path, for example, `http://unstructured:8000/general/v0/general`. 2. `UNSTRUCTURED_API_KEY`: This is the authentication key for the Unstructured API service. Ensure these variables are correctly configured in your environment. You can find these settings in the `docker/.env.example` file under the Unstructured API configuration section <sup>[[1]](https://github.com/langgenius/dify/issues/15178)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/17379)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/661757f2-b82c-4584-a24f-3157221d21c5?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Apr 25, 2025):

Duplicated, please set the UNSTRUCTURED_API_KEY

@crazywoola commented on GitHub (Apr 25, 2025): Duplicated, please set the `UNSTRUCTURED_API_KEY `
Author
Owner

@qwfy326 commented on GitHub (Apr 25, 2025):

I don't have the Unstructured API. How can I do??

@qwfy326 commented on GitHub (Apr 25, 2025): I don't have the Unstructured API. How can I do??
Author
Owner

@crazywoola commented on GitHub (Apr 25, 2025):

Then you can not extract .doc

@crazywoola commented on GitHub (Apr 25, 2025): Then you can not extract `.doc`
Author
Owner

@qwfy326 commented on GitHub (Apr 25, 2025):

ok. Thanks.

@qwfy326 commented on GitHub (Apr 25, 2025): ok. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13341