mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
issue: The content provided is empty. Please ensure that there is text or data present before proceeding. #5607
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Farmouss on GitHub (Jun 21, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
0.9.2
Operating System
Ubuntu 24.04
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
When I upload an audio file in the notes section, it should be analyzed and transcription produced
Audio chat should work normally and transcribe what I'm saying
Actual Behavior
When I upload the audio file, error message appears : "The content provided is empty. Please ensure that there is text or data present before proceeding."
And no transcription is done
Also, the audio chat doesn't work either, and an error message appears : "Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format and try again."
Steps to Reproduce
Logs & Screenshots
2025-06-21 07:31:51.658 | INFO | open_webui.routers.files:upload_file:94 - file.content_type: audio/x-m4a - {}
2025-06-21 07:31:51.704 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1125 - save_docs_to_vector_db: document N 12 3.m4a file-[ID] - {}
2025-06-21 07:31:51.706 | WARNING | open_webui.retrieval.vector.dbs.milvus:query:192 - Query attempted on non-existent collection: open_webui_file_b0b12529_0f22_4387_a2c8_d28856b339a8 - {}
2025-06-21 07:31:51.706 | ERROR | open_webui.routers.retrieval:process_file:1457 - The content provided is empty. Please ensure that there is text or data present before proceeding. - {}
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
File "/app/backend/open_webui/routers/files.py", line 181, in upload_file
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
2025-06-21 07:31:51.707 | ERROR | open_webui.routers.files:upload_file:190 - 400: The content provided is empty. Please ensure that there is text or data present before proceeding. - {}
Traceback (most recent call last):
File "/app/backend/open_webui/routers/retrieval.py", line 1447, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
File "/app/backend/open_webui/routers/retrieval.py", line 1464, in process_file
fastapi.exceptions.HTTPException: 400: The content provided is empty. Please ensure that there is text or data present before proceeding.
2025-06-21 07:31:51.708 | ERROR | open_webui.routers.files:upload_file:191 - Error processing file: [ID] - {}
Additional Information
This feature was working in previous versions of OpenWebUi, I haven't changed anything in my stack :
version: '3' services: openwebui: image: ghcr.io/open-webui/open-webui:cuda container_name: open-webui runtime: nvidia networks: - mcp-global env_file: - stack.env ports: - "3000:8080" volumes: - /my/path/to/openwebui/docker/data:/app/backend/dataAnd I have some env variables for the setup (NVIDIA_VISIBLE_DEVICES = all, and others)
@rgaricano commented on GitHub (Jun 21, 2025):
Do you have set any Supported MIME Types?
@Farmouss commented on GitHub (Jun 21, 2025):
Nope, it's empty, I left it blank for defaults
@rgaricano commented on GitHub (Jun 21, 2025):
EDIT: I removed previous response because I tested,
with this file: https://filesamples.com/samples/audio/m4a/sample3.m4a (1.7MB)
transcribe is done ok (but without content, it's a music file)
@Farmouss commented on GitHub (Jun 21, 2025):
Yep, I don't get it... I tried with mp3 instead, and, even though, I don't have the error message, the transcribing job doesn't work, it gives me an output like this :
I tried with the local whisper, as well as an external one (using speaches.ai) and it's the same
Though, if I transcribe directly with Speaches, it works oO
What's the model you're using?
@tjbck commented on GitHub (Jun 21, 2025):
This has more to do with the transcription model you're using, keep us updated!