[GH-ISSUE #21033] issue: Content Empty – the source contains only the file name and no contract text. #19361

Closed
opened 2026-04-20 01:46:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Oruli on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21033

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.7.2

Ollama Version (if applicable)

0.15.0

Operating System

Ubuntu 25.10

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Uploading PDF file should not error

Actual Behavior

Yellow warning/error notification popup box, with content: "Content Empty – the source contains only the file name and no contract text."

This error is coming from a user uploading a 3mb PDF file. They can upload a 600kB PDF file without the error.

Admin can upload both files without error.

Steps to Reproduce

Login as a non-admin user.
Start new chat
Upload PDF file.

Logs & Screenshots

Cannot find any error messages in logs

Additional Information

No response

Originally created by @Oruli on GitHub (Jan 29, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21033 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.7.2 ### Ollama Version (if applicable) 0.15.0 ### Operating System Ubuntu 25.10 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Uploading PDF file should not error ### Actual Behavior Yellow warning/error notification popup box, with content: "Content Empty – the source contains only the file name and no contract text." This error is coming from a user uploading a 3mb PDF file. They can upload a 600kB PDF file without the error. Admin can upload both files without error. ### Steps to Reproduce Login as a non-admin user. Start new chat Upload PDF file. ### Logs & Screenshots Cannot find any error messages in logs ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-20 01:46:58 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Jan 29, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #15190 issue: The content provided is empty. Please ensure that there is text or data present before proceeding.
    by Farmouss • Jun 21, 2025 • bug

  2. #19721 issue: API /file upload and adding to collection -> "400: The content provided is empty"
    by deliciousbob • Dec 03, 2025 • bug

  3. #19558 issue: When using the “Upload a document” feature in the chat, it returns the following message: “Please provide the content of the attachment. I will prepare a summary based on the information in the file.”
    by jiunmoon • Nov 28, 2025 • bug

  4. #19755 issue: Error: 404, message='Not Found', url='http://ollama:11434/api/embed'
    by stevewillett • Dec 04, 2025 • bug

  5. #18212 issue: file access control, no content, admin file permission, file 404
    by Hekas1 • Oct 10, 2025 • bug

Show 1 more related issues
  1. #18974 issue: hanging on front matter requirements after update
    by DuckyBlender • Nov 06, 2025 • bug

💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3818014199 --> @owui-terminator[bot] commented on GitHub (Jan 29, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#15190](https://github.com/open-webui/open-webui/issues/15190) **issue: The content provided is empty. Please ensure that there is text or data present before proceeding.** *by Farmouss • Jun 21, 2025 • `bug`* 2. [#19721](https://github.com/open-webui/open-webui/issues/19721) **issue: API /file upload and adding to collection -> "400: The content provided is empty"** *by deliciousbob • Dec 03, 2025 • `bug`* 3. [#19558](https://github.com/open-webui/open-webui/issues/19558) **issue: When using the “Upload a document” feature in the chat, it returns the following message: “Please provide the content of the attachment. I will prepare a summary based on the information in the file.”** *by jiunmoon • Nov 28, 2025 • `bug`* 4. [#19755](https://github.com/open-webui/open-webui/issues/19755) **issue: Error: 404, message='Not Found', url='http://ollama:11434/api/embed'** *by stevewillett • Dec 04, 2025 • `bug`* 5. [#18212](https://github.com/open-webui/open-webui/issues/18212) **issue: file access control, no content, admin file permission, file 404** *by Hekas1 • Oct 10, 2025 • `bug`* <details> <summary>Show 1 more related issues</summary> 6. [#18974](https://github.com/open-webui/open-webui/issues/18974) **issue: hanging on front matter requirements after update** *by DuckyBlender • Nov 06, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#19361