Document uploading #21097

Open
opened 2026-02-21 20:10:44 -05:00 by yindo · 7 comments
Owner

Originally created by @htrechsler on GitHub (Dec 16, 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

V1.11.1

Cloud or Self Hosted

Cloud

Steps to reproduce

In Dify Cloud I opened Knowledge - Create Knowledge - Import from file. I tried to upload files in .txt format from my computer by drag and drop and browse. The files are less than 100KB. I can only upload 1 file in total.
If I try to upload another file, it opens a notepad with the file content, but does not upload to Dify. I did not try to upload in batches, just one file each time. I am just starting out with Dify and use the free sandbox tier. I want to make sure that this behavior does not occur, before upgrading.

✔️ Expected Behavior

I expect that I can upload my complete knowledge base of 45 files in batches as advertised on Dify's website.

Actual Behavior

I can only upload 1 file in total. Trying to upload a second file opens the file content in notepad instead of uploading.

Originally created by @htrechsler on GitHub (Dec 16, 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 V1.11.1 ### Cloud or Self Hosted Cloud ### Steps to reproduce In Dify Cloud I opened Knowledge - Create Knowledge - Import from file. I tried to upload files in .txt format from my computer by drag and drop and browse. The files are less than 100KB. I can only upload 1 file in total. If I try to upload another file, it opens a notepad with the file content, but does not upload to Dify. I did not try to upload in batches, just one file each time. I am just starting out with Dify and use the free sandbox tier. I want to make sure that this behavior does not occur, before upgrading. ### ✔️ Expected Behavior I expect that I can upload my complete knowledge base of 45 files in batches as advertised on Dify's website. ### ❌ Actual Behavior I can only upload 1 file in total. Trying to upload a second file opens the file content in notepad instead of uploading.
yindo added the 🐞 bugcloud labels 2026-02-21 20:10:44 -05:00
Author
Owner

@prasath1196 commented on GitHub (Dec 23, 2025):

I would like to fix this issue. Can this be assigned?

@prasath1196 commented on GitHub (Dec 23, 2025): I would like to fix this issue. Can this be assigned?
Author
Owner

@htrechsler commented on GitHub (Dec 25, 2025):

I found a workaround for the issue. It takes a step by step process.

  1. upload first file, 2. click process/save. 3. go to document, 4. open document, 5. upload next file and repeat the process. The problem obviously is that it takes a lot of time if you have many files to upload.
@htrechsler commented on GitHub (Dec 25, 2025): I found a workaround for the issue. It takes a step by step process. 1. upload first file, 2. click process/save. 3. go to document, 4. open document, 5. upload next file and repeat the process. The problem obviously is that it takes a lot of time if you have many files to upload.
Author
Owner

@prasath1196 commented on GitHub (Dec 26, 2025):

In web/app/components/datasets/create/step-one/index.tsx, we have the following:

const supportBatchUpload = !enableBilling || plan.type !== Plan.sandbox

In web/app/components/datasets/create/file-uploader/index.tsx, we have the following:

const hideUpload = !supportBatchUpload && fileList.length > 0
// ...
{!hideUpload && (
  <div ref={dropRef} ... >
     {/* Drop zone UI */}
  </div>
)}

I think the intended behaviour in sandbox is to restrict with one file upload at a time (No batch uploads). Should we show a user message here, rather than just opening the file?

@prasath1196 commented on GitHub (Dec 26, 2025): In web/app/components/datasets/create/step-one/index.tsx, we have the following: `const supportBatchUpload = !enableBilling || plan.type !== Plan.sandbox` In web/app/components/datasets/create/file-uploader/index.tsx, we have the following: ``` const hideUpload = !supportBatchUpload && fileList.length > 0 // ... {!hideUpload && ( <div ref={dropRef} ... > {/* Drop zone UI */} </div> )} ``` I think the intended behaviour in sandbox is to restrict with one file upload at a time (No batch uploads). Should we show a user message here, rather than just opening the file?
Author
Owner

@dosubot[bot] commented on GitHub (Jan 26, 2026):

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

Issue Summary:

  • You reported that in Dify Cloud v1.11.1 free sandbox tier, only one .txt file can be uploaded at a time to the Knowledge base.
  • Attempting a second upload opens the file in notepad instead of uploading, which is unexpected behavior.
  • Batch uploads are expected but currently require a multi-step workaround.
  • Contributor prasath1196 identified the code restricts batch uploads on the sandbox plan and suggested showing a user message instead of opening the file.
  • A fix was offered but not yet implemented.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Dify.
  • If it is, you can keep the discussion open by commenting; otherwise, this issue will be automatically closed in 15 days.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jan 26, 2026): Hi, @htrechsler. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that in Dify Cloud v1.11.1 free sandbox tier, only one .txt file can be uploaded at a time to the Knowledge base. - Attempting a second upload opens the file in notepad instead of uploading, which is unexpected behavior. - Batch uploads are expected but currently require a multi-step workaround. - Contributor prasath1196 identified the code restricts batch uploads on the sandbox plan and suggested showing a user message instead of opening the file. - A fix was offered but not yet implemented. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of Dify. - If it is, you can keep the discussion open by commenting; otherwise, this issue will be automatically closed in 15 days. Thanks for your understanding and contribution!
Author
Owner

@prasath1196 commented on GitHub (Jan 26, 2026):

This is still open, implementing fix

@prasath1196 commented on GitHub (Jan 26, 2026): This is still open, implementing fix
Author
Owner

@dosubot[bot] commented on GitHub (Jan 26, 2026):

@crazywoola The user prasath1196 has confirmed the issue with batch uploads on the sandbox plan is still open and is currently implementing a fix. Could you please assist with this?

@dosubot[bot] commented on GitHub (Jan 26, 2026): @crazywoola The user prasath1196 has confirmed the issue with batch uploads on the sandbox plan is still open and is currently implementing a fix. Could you please assist with this?
Author
Owner

@htrechsler commented on GitHub (Jan 27, 2026):

Thank you for reaching out.
The issue is no longer relevant.

Sent with Proton Mail secure email.

On Tuesday, January 27th, 2026 at 6:01 AM, dosubot[bot] @.***> wrote:

dosubot[bot] left a comment (langgenius/dify#29761)

@.***(https://github.com/crazywoola) The user prasath1196 has confirmed the issue with batch uploads on the sandbox plan is still open and is currently implementing a fix. Could you please assist with this?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@htrechsler commented on GitHub (Jan 27, 2026): Thank you for reaching out. The issue is no longer relevant. Sent with [Proton Mail](https://proton.me/mail/home) secure email. On Tuesday, January 27th, 2026 at 6:01 AM, dosubot[bot] ***@***.***> wrote: > dosubot[bot] left a comment [(langgenius/dify#29761)](https://github.com/langgenius/dify/issues/29761#issuecomment-3801963740) > > ***@***.***(https://github.com/crazywoola) The user prasath1196 has confirmed the issue with batch uploads on the sandbox plan is still open and is currently implementing a fix. Could you please assist with this? > > — > Reply to this email directly, [view it on GitHub](https://github.com/langgenius/dify/issues/29761#issuecomment-3801963740), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BB73XRDYZRLCPVAKWMZTPDT4I2FFBAVCNFSM6AAAAACPGOQUMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQMBRHE3DGNZUGA). > You are receiving this because you were mentioned.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21097