dify - 💡(How to fix) Fix File Upload limited to 10 whatever the settings of env variables [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#35745Fetched 2026-05-01 05:53:18
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
1
Author
Timeline (top)
closed ×1commented ×1labeled ×1
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

I developed a VLM workflow accepting images as input, perform OCR, generate texte and send it to a knowledge base. I have changed the following variables : IMAGE_FILE_BATCH_LIMIT: ${IMAGE_FILE_BATCH_LIMIT:-50} UPLOAD_FILE_SIZE_LIMIT: ${UPLOAD_FILE_SIZE_LIMIT:-15} UPLOAD_FILE_BATCH_LIMIT: ${UPLOAD_FILE_BATCH_LIMIT:-50} WORKFLOW_FILE_UPLOAD_LIMIT: ${WORKFLOW_FILE_UPLOAD_LIMIT:-50}

Values are checked in containers.

I have no warning anymore about the number of file when I select more than 10 files. Despite of this, the workflow process only handles 10 files, no more without any warning issues

✔️ Expected Behavior

The workflow process has to handle all the files uploaded in the limit set by the environment variable.

❌ Actual Behavior

I have no warning anymore about the number of file when I select more than 10 files. Despite of this, the workflow process only handles 10 files, no more without any warning issues

extent analysis

TL;DR

The workflow process may not be properly utilizing the updated environment variables, causing it to still handle only 10 files despite the increased limits.

Guidance

  • Review the container configuration to ensure the updated environment variables (IMAGE_FILE_BATCH_LIMIT, UPLOAD_FILE_SIZE_LIMIT, UPLOAD_FILE_BATCH_LIMIT, WORKFLOW_FILE_UPLOAD_LIMIT) are being correctly applied and utilized by the workflow process.
  • Verify that the workflow process is designed to handle batches of files larger than 10, and that there are no hardcoded limits or constraints that might be overriding the environment variable settings.
  • Check the workflow's logging or debugging output to see if there are any hints about why it's only processing 10 files, despite the increased limits.
  • Consider testing the workflow with a smaller batch size (e.g., 15-20 files) to see if it's able to handle that many, which could help isolate the issue.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue may be related to how the environment variables are being used within the workflow process, or there might be other constraints or limitations that are not immediately apparent from the provided information.

Recommendation

Apply workaround: Review and adjust the workflow process and container configuration to ensure proper utilization of the updated environment variables, as it seems like the current setup is not correctly handling the increased file limits.

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

dify - 💡(How to fix) Fix File Upload limited to 10 whatever the settings of env variables [1 comments, 2 participants]