Originally created by @Aleprex on GitHub (Jun 7, 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.13
Ollama Version (if applicable)
0.9.0
Operating System
kubuntu 24.01
Browser (if applicable)
Brave, Firefox
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
Possibility to give the model links
Actual Behavior
[ERROR: no element found: line 1, column 0]
Steps to Reproduce
when I try to insert a youtube link using the hash sign (#ytLink), I get the error [ERROR: no element found: line 1, column 0]
Logs & Screenshots
Additional Information
No response
Originally created by @Aleprex on GitHub (Jun 7, 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.13
### Ollama Version (if applicable)
0.9.0
### Operating System
kubuntu 24.01
### Browser (if applicable)
Brave, Firefox
### 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
Possibility to give the model links
### Actual Behavior
[ERROR: no element found: line 1, column 0]
### Steps to Reproduce
when I try to insert a youtube link using the hash sign (#ytLink), I get the error [ERROR: no element found: line 1, column 0]
### Logs & Screenshots

### Additional Information
_No response_
GiteaMirror
added the bug label 2025-11-11 16:21:50 -06:00
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 @Aleprex on GitHub (Jun 7, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
0.9.0
Operating System
kubuntu 24.01
Browser (if applicable)
Brave, Firefox
Confirmation
README.md.Expected Behavior
Possibility to give the model links
Actual Behavior
[ERROR: no element found: line 1, column 0]
Steps to Reproduce
when I try to insert a youtube link using the hash sign (#ytLink), I get the error [ERROR: no element found: line 1, column 0]
Logs & Screenshots
Additional Information
No response
@fbirlik commented on GitHub (Jun 8, 2025):
example log below. Can be reproduced with videos with or without english subtitle.
open-webui-1 | 2025-06-08 05:37:11.371 | INFO | open_webui.retrieval.loaders.youtube:load:126 - Error finding transcript for language 'en' - {}
open-webui-1 | 2025-06-08 05:37:11.371 | ERROR | open_webui.routers.retrieval:process_youtube_video:1502 - no element found: line 1, column 0 - {}
open-webui-1 | Traceback (most recent call last):
open-webui-1 |
open-webui-1 | File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1728, in close
open-webui-1 | self.parser.Parse(b"", True) # end of data
open-webui-1 | │ │ └ <method 'Parse' of 'pyexpat.xmlparser' objects>
open-webui-1 | │ └ <pyexpat.xmlparser object at 0x77ed04cd0640>
open-webui-1 | └ <defusedxml.ElementTree.DefusedXMLParser object at 0x77ed05008310>
open-webui-1 |
open-webui-1 | xml.parsers.expat.ExpatError: no element found: line 1, column 0
open-webui-1 |
open-webui-1 |
open-webui-1 | During handling of the above exception, another exception occurred:
open-webui-1 |
open-webui-1 |
open-webui-1 | Traceback (most recent call last):
open-webui-1 |
open-webui-1 | File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
open-webui-1 | self._bootstrap_inner()
open-webui-1 | │ └ <function Thread._bootstrap_inner at 0x77ee94dec860>
open-webui-1 | └ <WorkerThread(AnyIO worker thread, started 131850974512832)>
open-webui-1 | File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
open-webui-1 | self.run()
open-webui-1 | │ └ <function WorkerThread.run at 0x77ed04fd8a40>
open-webui-1 | └ <WorkerThread(AnyIO worker thread, started 131850974512832)>
open-webui-1 | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
open-webui-1 | result = context.run(func, *args)
open-webui-1 | │ │ │ └ ()
open-webui-1 | │ │ └ functools.partial(<function process_youtube_video at 0x77edc6e0ccc0>, user=UserModel(id='e73e5673-d535-4048-9af6-1bdf442c9578...
open-webui-1 | │ └ <method 'run' of '_contextvars.Context' objects>
open-webui-1 | └ <_contextvars.Context object at 0x77ecef11bfc0>
open-webui-1 |
open-webui-1 | > File "/app/backend/open_webui/routers/retrieval.py", line 1480, in process_youtube_video
open-webui-1 | docs = loader.load()
open-webui-1 | │ └ <function YoutubeLoader.load at 0x77edc7ddd8a0>
open-webui-1 | └ <open_webui.retrieval.loaders.youtube.YoutubeLoader object at 0x77ecdc1a3210>
open-webui-1 |
open-webui-1 | File "/app/backend/open_webui/retrieval/loaders/youtube.py", line 127, in load
open-webui-1 | raise e
open-webui-1 |
open-webui-1 | File "/app/backend/open_webui/retrieval/loaders/youtube.py", line 114, in load
open-webui-1 | transcript_pieces: List[Dict[str, Any]] = transcript.fetch()
open-webui-1 | │ │ │ │ └ <function Transcript.fetch at 0x77ed04d2eac0>
open-webui-1 | │ │ │ └ <youtube_transcript_api._transcripts.Transcript object at 0x77ed04d03950>
open-webui-1 | │ │ └ typing.Any
open-webui-1 | │ └ typing.Dict
open-webui-1 | └ typing.List
open-webui-1 |
open-webui-1 | File "/usr/local/lib/python3.11/site-packages/youtube_transcript_api/_transcripts.py", line 134, in fetch
open-webui-1 | snippets = _TranscriptParser(preserve_formatting=preserve_formatting).parse(
open-webui-1 | │ └ False
open-webui-1 | └ <class 'youtube_transcript_api._transcripts._TranscriptParser'>
open-webui-1 | File "/usr/local/lib/python3.11/site-packages/youtube_transcript_api/_transcripts.py", line 474, in parse
open-webui-1 | for xml_element in ElementTree.fromstring(raw_data)
open-webui-1 | │ │ └ ''
open-webui-1 | │ └ <function _generate_etree_functions..fromstring at 0x77edc57e1bc0>
open-webui-1 | └ <module 'defusedxml.ElementTree' from '/usr/local/lib/python3.11/site-packages/defusedxml/ElementTree.py'>
open-webui-1 | File "/usr/local/lib/python3.11/site-packages/defusedxml/common.py", line 127, in fromstring
open-webui-1 | return parser.close()
open-webui-1 | │ └ <function XMLParser.close at 0x77edc57e0ea0>
open-webui-1 | └ <defusedxml.ElementTree.DefusedXMLParser object at 0x77ed05008310>
open-webui-1 | File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1730, in close
open-webui-1 | self._raiseerror(v)
open-webui-1 | │ └ <function XMLParser._raiseerror at 0x77edc57e09a0>
open-webui-1 | └ <defusedxml.ElementTree.DefusedXMLParser object at 0x77ed05008310>
open-webui-1 | File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1630, in _raiseerror
open-webui-1 | raise err
open-webui-1 | └ ParseError(ExpatError('no element found: line 1, column 0'))
open-webui-1 |
open-webui-1 | xml.etree.ElementTree.ParseError: no element found: line 1, column 0
@tjbck commented on GitHub (Jun 8, 2025):
Could you provide a link to the youtube so we can reproduce?