dify icon indicating copy to clipboard operation
dify copied to clipboard

fix custom file type err :Received err: File validation failed for file

Open Tory31 opened this issue 1 year ago • 1 comments

Self Checks

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

Dify version

0.14.0

Cloud or Self Hosted

Cloud, Self Hosted (Source)

Steps to reproduce

  1. Click on the file upload settings on the page to customize other file types
  2. Enter .zip .txt and save
  3. Uploading txt files and question

✔️ Expected Behavior

Normal recognition and processing

❌ Actual Behavior

Received err: File validation failed for file

Tory31 avatar Jan 07 '25 07:01 Tory31

new pull request: https://github.com/langgenius/dify/pull/12429

Tory31 avatar Jan 07 '25 07:01 Tory31

Hi, @Tory31. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • A bug was reported in Dify version 0.14.0 regarding file validation errors for .txt files.
  • The issue occurs when customizing file types to include .zip and .txt.
  • You submitted a pull request #12429 to resolve this issue.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of the Dify repository. If so, you can keep the discussion open by commenting on this issue.
  • Otherwise, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Feb 07 '25 16:02 dosubot[bot]