dify_extractor plugin can not extract any content, but it run success #714

Closed
opened 2026-02-16 10:20:16 -05:00 by yindo · 1 comment
Owner

Originally created by @dtMndas on GitHub (Oct 14, 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 Dify issues & Dify Official Plugins, 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.9.1

Plugin version

0.0.5

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

upload the file from local, then test run the tool node for dify_extractor

✔️ Error log

plugin input :
{
"file": {
"dify_model_identity": "dify__file",
"extension": ".txt",
"filename": "product.txt",
"id": "f255b30f-b8d6-4f3f-b813-c010de9c6eee",
"mime_type": "text/plain",
"related_id": "f255b30f-b8d6-4f3f-b813-c010de9c6eee",
"remote_url": "https://xxx.com.cn/files/f255b30f-b8d6-4f3f-b813-c010de9c6eee/file-preview?timestamp=1760428420&nonce=536e96c5c02f4c3290ef6420023ad8dd&sign=BVO2K30ss0GJH9pD10P5z0WOba04-JM7BNieoIAQ2Vk%3D",
"size": 6368,
"tenant_id": "c54390c2-3b00-4f47-9523-6b5d5ac614ee",
"transfer_method": "local_file",
"type": "custom",
"url": "https://xxx.com.cn/files/f255b30f-b8d6-4f3f-b813-c010de9c6eee/file-preview?timestamp=1760428434&nonce=5f70533d96828cfb967c4396e3896108&sign=DX8eklbquczYZLJ8tldTt2kXNM2ddV1UWCI0aAeZE_M%3D"
}
}

and output always :
{
"files": [],
"json": [
{
"data": []
}
],
"text": ""
}

Originally created by @dtMndas on GitHub (Oct 14, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.9.1 ### Plugin version 0.0.5 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce upload the file from local, then test run the tool node for dify_extractor ### ✔️ Error log **plugin input :** { "file": { "dify_model_identity": "__dify__file__", "extension": ".txt", "filename": "product.txt", "id": "f255b30f-b8d6-4f3f-b813-c010de9c6eee", "mime_type": "text/plain", "related_id": "f255b30f-b8d6-4f3f-b813-c010de9c6eee", "remote_url": "https://xxx.com.cn/files/f255b30f-b8d6-4f3f-b813-c010de9c6eee/file-preview?timestamp=1760428420&nonce=536e96c5c02f4c3290ef6420023ad8dd&sign=BVO2K30ss0GJH9pD10P5z0WOba04-JM7BNieoIAQ2Vk%3D", "size": 6368, "tenant_id": "c54390c2-3b00-4f47-9523-6b5d5ac614ee", "transfer_method": "local_file", "type": "custom", "url": "https://xxx.com.cn/files/f255b30f-b8d6-4f3f-b813-c010de9c6eee/file-preview?timestamp=1760428434&nonce=5f70533d96828cfb967c4396e3896108&sign=DX8eklbquczYZLJ8tldTt2kXNM2ddV1UWCI0aAeZE_M%3D" } } **and output always :** { "files": [], "json": [ { "data": [] } ], "text": "" }
yindo added the bug label 2026-02-16 10:20:16 -05:00
yindo closed this issue 2026-02-16 10:20:16 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 14, 2025):

The dify_extractor plugin expects the actual file content to be provided in the blob attribute of the file input—not just metadata or a remote URL. If the blob is missing or empty, the plugin will run without error but always return empty output fields (source).

To resolve this, check that your workflow passes the file bytes in the blob field when invoking the plugin. The plugin does not fetch or download the file from remote_url itself. If you’re using a custom integration or workflow, make sure the file content is loaded and included in the plugin input. If the file is only referenced by URL, extraction will silently fail and return empty results.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 14, 2025): <!-- Answer --> The dify_extractor plugin expects the actual file content to be provided in the `blob` attribute of the file input—not just metadata or a remote URL. If the `blob` is missing or empty, the plugin will run without error but always return empty output fields ([source](https://github.com/langgenius/dify-official-plugins/blob/d08137b120bd63878bd05504fa6273acc21dd2b1/tools/dify_extractor/tools/dify_extractor.py)). To resolve this, check that your workflow passes the file bytes in the `blob` field when invoking the plugin. The plugin does not fetch or download the file from `remote_url` itself. If you’re using a custom integration or workflow, make sure the file content is loaded and included in the plugin input. If the file is only referenced by URL, extraction will silently fail and return empty results. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/db16e8a2-a5b6-43e1-9ba8-577f181b61d8?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1857)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#714