dify - 💡(How to fix) Fix Add Support for multiselect document, image and custom together [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#35410Fetched 2026-04-20 12:16:07
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
1
Participants
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.13.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

dify can select both document and image <img width="383" height="376" alt="Image" src="https://github.com/user-attachments/assets/9646c6ed-916f-4bfa-82cd-42c71929859c" />

but i want to add a custom file extension *.rtf and it can only select custom, so i had to add all image and document extension in custom <img width="359" height="659" alt="Image" src="https://github.com/user-attachments/assets/e611b9b0-d948-4ed7-aeac-60b73d21fcfb" />

when i upload an *.xlsx file, first question is OK, but if i turn on memory in the question classifier, i will get file validation failed for file in the next question <img width="684" height="318" alt="Image" src="https://github.com/user-attachments/assets/b46a7329-2acd-4873-bbe6-c4e90af744e0" />

✔️ Expected Behavior

hope to support multiselect for document, image and custom

❌ Actual Behavior

No response

extent analysis

TL;DR

The issue can be mitigated by modifying the file extension settings to support multiselect for document, image, and custom file types.

Guidance

  • Review the current file extension settings in the Dify configuration to understand how file types are being handled.
  • Consider adding a custom file extension for *.rtf and other required file types to the existing document or image categories.
  • Investigate the question classifier settings to determine why file validation is failing when memory is enabled.
  • Check the Dify version 1.13.3 documentation to see if there are any known limitations or workarounds for file extension handling.

Example

No code snippet is provided as the issue does not contain sufficient technical details to create a specific example.

Notes

The issue may be related to the current implementation of file extension handling in Dify, and modifying the configuration settings may resolve the issue. However, without further technical details, it is difficult to provide a definitive solution.

Recommendation

Apply workaround: Modify the file extension settings to support multiselect for document, image, and custom file types, as this may resolve the issue without requiring an upgrade to a fixed version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING