Originally created by @Farmouss on GitHub (Jun 21, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
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
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
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."
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
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x70d57a5409a0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x70d3f87faca0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x70d42bf79e40>, user=UserModel(id='[ID]', name='[USERNAME]'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x70d3f81d6b40>
File "/app/backend/open_webui/routers/files.py", line 181, in upload_file
File "/app/backend/open_webui/routers/retrieval.py", line 1447, in process_file
raise e
└ ValueError(<ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present be...
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
result = save_docs_to_vector_db(
└ <function save_docs_to_vector_db at 0x70d4057b34c0>
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
│ └ <ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present before procee...
└ <enum 'ERROR_MESSAGES'>
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
raise e
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
result = save_docs_to_vector_db(
└ <function save_docs_to_vector_db at 0x70d4057b34c0>
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
│ └ <ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present before procee...
└ <enum 'ERROR_MESSAGES'>
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
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x70d57a5409a0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x70d3f87faca0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x70d42bf79e40>, user=UserModel(id='[ID]', name='[USERNAME]'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x70d3f81d6b40>
File "/app/backend/open_webui/routers/files.py", line 181, in upload_file
And I have some env variables for the setup (NVIDIA_VISIBLE_DEVICES = all, and others)
Originally created by @Farmouss on GitHub (Jun 21, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### 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
- [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
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
1. Go to note section
2. Create a new note
3. Upload an audio file
### 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
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x70d57a5409a0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x70d3f87faca0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x70d42bf79e40>, user=UserModel(id='[ID]', name='[USERNAME]'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x70d3f81d6b40>
File "/app/backend/open_webui/routers/files.py", line 181, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='[ID]', name='[USERNAME]', [EMAIL ADDRESS] role='admin', profile_image...
│ │ │ └ '[ID]'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x70d3e19f6a90>
└ <function process_file at 0x70d4057b3c40>
> File "/app/backend/open_webui/routers/retrieval.py", line 1447, in process_file
raise e
└ ValueError(<ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present be...
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
result = save_docs_to_vector_db(
└ <function save_docs_to_vector_db at 0x70d4057b34c0>
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
│ └ <ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present before procee...
└ <enum 'ERROR_MESSAGES'>
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
raise e
File "/app/backend/open_webui/routers/retrieval.py", line 1419, in process_file
result = save_docs_to_vector_db(
└ <function save_docs_to_vector_db at 0x70d4057b34c0>
File "/app/backend/open_webui/routers/retrieval.py", line 1167, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
│ └ <ERROR_MESSAGES.EMPTY_CONTENT: 'The content provided is empty. Please ensure that there is text or data present before procee...
└ <enum 'ERROR_MESSAGES'>
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
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x70d57a5409a0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x70d3f87faca0>
└ <WorkerThread(AnyIO worker thread, started 124055124444864)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function upload_file at 0x70d42bf79e40>, user=UserModel(id='[ID]', name='[USERNAME]'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x70d3f81d6b40>
> File "/app/backend/open_webui/routers/files.py", line 181, in upload_file
process_file(request, ProcessFileForm(file_id=id), user=user)
│ │ │ │ └ UserModel(id='[ID]', name='[USERNAME]', [EMAIL ADDRESS] role='admin', profile_image...
│ │ │ └ '[ID]'
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x70d3e19f6a90>
└ <function process_file at 0x70d4057b3c40>
File "/app/backend/open_webui/routers/retrieval.py", line 1464, in process_file
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>
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 :
- VectorDB is Milvus, and it's working for other type of embeddings (like workspace etc.)
- I have 2 Ollama servers, both working well
- I'm using local whisper directly from OpenWebUi, and the large-v3
- I'm using an RTX 4080 in the Openwebui server, running Ubuntu 24.04 and docker
- See the docker-compose file below :
`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/data`
And I have some env variables for the setup (NVIDIA_VISIBLE_DEVICES = all, and others)
GiteaMirror
added the bug label 2025-11-11 16:26:10 -06:00
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 :
null
228.096
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?
@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 :
```
null
228.096
```
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?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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!