A YouTube attachment is the video's transcript, so a video without a usable one cannot be attached at all. Where the message says YouTube blocked the request from your server's address, common for cloud provider ranges, route it through [`YOUTUBE_LOADER_PROXY_URL`](../reference/env-configuration.mdx#youtube_loader_proxy_url). Where a transcript exists but not in the languages asked for, add yours to [`YOUTUBE_LOADER_LANGUAGE`](../reference/env-configuration.mdx#youtube_loader_language). The message then reads `No transcript found for the YouTube video <id> in these languages: <list>.` Set the list in **Youtube Language** under **Settings > Web Search** (admin section) as language codes separated by commas, such as `de,fr`. Leave out spaces in the environment variable, since only the admin field trims them. Open WebUI tries them in order and adds `en` at the end when it is missing, so `de,fr` tries German, French, then English. For each language it takes a manually created transcript over an automatically generated one. Captions switched off by the uploader, age restriction and unavailable videos cannot be worked around.
0 commit comments