File upload in Explore chat(workflow) fails with "No matching enum" error and missing filename #19158

Closed
opened 2026-02-21 19:56:25 -05:00 by yindo · 0 comments
Owner

Originally created by @LafolaLi on GitHub (Oct 13, 2025).

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.9.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Steps to reproduce the behavior:

  1. Create and publish a workflow in the Studio that requires a file upload as input.
  2. Go to the Explore section.
  3. Open the chat interface for the newly published workflow.
  4. Click the upload button and select a file (e.g., a .txt or .pdf file).
  5. Observe: The file seems to upload, but its name does not appear in the input field.
  6. Try to send the message to run the workflow.
  7. Observe: The error No matching enum found for value 'None' is returned.

✔️ Expected Behavior

  1. After a file is uploaded in the Explore chat interface, its name should be displayed in the box, confirming the upload.
  2. The workflow should run successfully using the uploaded file, without any errors, just as it does in the Chatflow and Studio environments.

Actual Behavior

When I use the chat interface for a published workflow in the Explore section, after uploading a file, two issues occur:
The filename is not displayed in the chat input box.
When I try to run the workflow with the uploaded file, it fails with the error message: No matching enum found for value 'None'.
Interestingly, this functionality works perfectly fine in the standard Chatflow and within the Studio when testing the workflow. The issue seems to be isolated to the public-facing "Explore" chat interface.


Image Image
Originally created by @LafolaLi on GitHub (Oct 13, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Steps to reproduce the behavior: 1. Create and publish a workflow in the Studio that requires a file upload as input. 2. Go to the Explore section. 3. Open the chat interface for the newly published workflow. 4. Click the upload button and select a file (e.g., a .txt or .pdf file). 5. Observe: The file seems to upload, but its name does not appear in the input field. 6. Try to send the message to run the workflow. 7. Observe: The error No matching enum found for value 'None' is returned. ### ✔️ Expected Behavior 1. After a file is uploaded in the Explore chat interface, its name should be displayed in the box, confirming the upload. 2. The workflow should run successfully using the uploaded file, without any errors, just as it does in the Chatflow and Studio environments. ### ❌ Actual Behavior When I use the chat interface for a published workflow in the Explore section, after uploading a file, two issues occur: The filename is not displayed in the chat input box. When I try to run the workflow with the uploaded file, it fails with the error message: No matching enum found for value 'None'. Interestingly, this functionality works perfectly fine in the standard Chatflow and within the Studio when testing the workflow. The issue seems to be isolated to the public-facing "Explore" chat interface. --- <img width="587" height="242" alt="Image" src="https://github.com/user-attachments/assets/fc360c19-9d48-4d5e-97ee-498a46fbd1c1" /> <img width="358" height="64" alt="Image" src="https://github.com/user-attachments/assets/15031798-f8fb-4624-8ded-920aa11dcdf3" />
yindo added the 🐞 bug label 2026-02-21 19:56:25 -05:00
yindo closed this issue 2026-02-21 19:56:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19158