bug: PDF files above 1 MB cannot be uploaded into a chat and used #1500

Closed
opened 2025-11-11 14:46:27 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @YetheSamartaka on GitHub (Jul 12, 2024).

Bug Report

Description

Bug Summary:
PDF files above 1 MB cannot be drag and dropped/uploaded via + into a chat and used. I quickly found wiki article that upon dowloading has 3 MB, but the file I encountered that with had little above 1 MB. Files below 1 MB are working fine.

Steps to Reproduce:
Take a PDF file above 1 MB and try uploading it to Chat instance

Observe that it is not being uploaded

Expected Behavior:
Files above 1 MB should get uploaded and be usable the same way as PDFs below 1 MB

Actual Behavior:
Upon file upload above 1 MB upload, nothing happens.

Environment

  • Open WebUI Version: [e.g., 0.3.8]

  • Operating System: [Ubuntu 20.04]

  • Browser (if applicable): [Firefox, Chrome, Brave, Edge, Opera - seems to be happening on all]

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.

Installation Method

Dockerfile

Additional Information

I'm using text-embedding-3-large as an embedding model for documents

Not sure if it affects other filetypes.

These are the files that you can try. First will work, second won't.
working_file.pdf
not_working.pdf

Originally created by @YetheSamartaka on GitHub (Jul 12, 2024). # Bug Report ## Description **Bug Summary:** PDF files above 1 MB cannot be drag and dropped/uploaded via + into a chat and used. I quickly found wiki article that upon dowloading has 3 MB, but the file I encountered that with had little above 1 MB. Files below 1 MB are working fine. **Steps to Reproduce:** Take a PDF file above 1 MB and try uploading it to Chat instance Observe that it is not being uploaded **Expected Behavior:** Files above 1 MB should get uploaded and be usable the same way as PDFs below 1 MB **Actual Behavior:** Upon file upload above 1 MB upload, nothing happens. ## Environment - **Open WebUI Version:** [e.g., 0.3.8] - **Operating System:** [Ubuntu 20.04] - **Browser (if applicable):** [Firefox, Chrome, Brave, Edge, Opera - seems to be happening on all] ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. ## Installation Method Dockerfile ## Additional Information I'm using text-embedding-3-large as an embedding model for documents Not sure if it affects other filetypes. These are the files that you can try. First will work, second won't. [working_file.pdf](https://github.com/user-attachments/files/16190104/working_file.pdf) [not_working.pdf](https://github.com/user-attachments/files/16190111/not_working.pdf)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1500