Originally created by @hongbo-miao on GitHub (Nov 20, 2024).
Bug Report
Installation Method
Helm Chart
Environment
Open WebUI Version: v0.4.1
Operating System: Ubuntu 22.04
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.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
I am expecting YouTube video feature works when type # and add video URL, for example #https://www.youtube.com/watch?v=PZRI1IfStY0
Actual Behavior:
[ERROR: The content provided is empty. Please ensure that there is text or data present before proceeding.]
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
INFO [open_webui.apps.retrieval.main] save_docs_to_vector_db: document 74097b967a3bd94a36c87c54755423fd05706d0ed8bb17c94db3c620cb6bb54
ERROR [open_webui.apps.retrieval.main] 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/apps/retrieval/main.py", line 1071, in process_youtube_video
save_docs_to_vector_db(docs, collection_name, overwrite=True)
File "/app/backend/open_webui/apps/retrieval/main.py", line 786, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
INFO: 172.31.161.223:0 - "POST /retrieval/api/v1/process/youtube HTTP/1.1"400 Bad Request
Originally created by @hongbo-miao on GitHub (Nov 20, 2024).
# Bug Report
## Installation Method
Helm Chart
## Environment
- **Open WebUI Version:** v0.4.1
- **Operating System:** Ubuntu 22.04
**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.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
I am expecting YouTube video feature works when type `#` and add video URL, for example `#https://www.youtube.com/watch?v=PZRI1IfStY0`
## Actual Behavior:
> [ERROR: The content provided is empty. Please ensure that there is text or data present before proceeding.]

## Description
**Bug Summary:**
[Provide a brief but clear summary of the bug]
## Reproduction Details
**Steps to Reproduce:**
[Outline the steps to reproduce the bug. Be as detailed as possible.]
## Logs and Screenshots
**Browser Console Logs:**

**Docker Container Logs:**
```sh
INFO [open_webui.apps.retrieval.main] save_docs_to_vector_db: document 74097b967a3bd94a36c87c54755423fd05706d0ed8bb17c94db3c620cb6bb54
ERROR [open_webui.apps.retrieval.main] 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/apps/retrieval/main.py", line 1071, in process_youtube_video
save_docs_to_vector_db(docs, collection_name, overwrite=True)
File "/app/backend/open_webui/apps/retrieval/main.py", line 786, in save_docs_to_vector_db
raise ValueError(ERROR_MESSAGES.EMPTY_CONTENT)
ValueError: The content provided is empty. Please ensure that there is text or data present before proceeding.
INFO: 172.31.161.223:0 - "POST /retrieval/api/v1/process/youtube HTTP/1.1" 400 Bad Request
```
It most definitely works on my local machine, however I was able to confirm youtube import does not work my cloud instance.
@tjbck commented on GitHub (Nov 20, 2024):
Related: https://github.com/jdepoix/youtube-transcript-api/issues/303

It most definitely works on my local machine, however I was able to confirm youtube import does not work my cloud instance.
I am getting the same error message using a local searxng web search. It appears as though this error occurs in my case when it tries to fetch the same url for a second time. Are you able to confirm that you have the same issue on various youtube URLs?
@jakern commented on GitHub (Dec 1, 2024):
I am getting the same error message using a local searxng web search. It _appears_ as though this error occurs in my case when it tries to fetch the same url for a second time. Are you able to confirm that you have the same issue on various youtube URLs?
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 @hongbo-miao on GitHub (Nov 20, 2024).
Bug Report
Installation Method
Helm Chart
Environment
Confirmation:
Expected Behavior:
I am expecting YouTube video feature works when type
#and add video URL, for example#https://www.youtube.com/watch?v=PZRI1IfStY0Actual Behavior:
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
@sebaxakerhtc commented on GitHub (Nov 20, 2024):
Same here
Docker installation
POST /retrieval/api/v1/process/youtube HTTP/1.1" 400 Bad Request@tjbck commented on GitHub (Nov 20, 2024):
Related: https://github.com/jdepoix/youtube-transcript-api/issues/303
It most definitely works on my local machine, however I was able to confirm youtube import does not work my cloud instance.
@jakern commented on GitHub (Dec 1, 2024):
I am getting the same error message using a local searxng web search. It appears as though this error occurs in my case when it tries to fetch the same url for a second time. Are you able to confirm that you have the same issue on various youtube URLs?