[GH-ISSUE #4242] [BUG]: Can't transcribe YouTube video #2698

Closed
opened 2026-02-22 18:30:51 -05:00 by yindo · 4 comments
Owner

Originally created by @jstawski on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4242

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Can't transcribe YoutTube videos when using the YouTube Transcript Data Connector. The logs shows the following error message:

[YOUTUBEJS][Player]: Failed to extract signature decipher algorithm.

Are there known steps to reproduce?

  1. Use Version 1.8.4
  2. Open the Document Embedder of any Workspace
  3. Go to Data Connectors tab
  4. Select YouTube Transcript
  5. Paste a public YouTube URL
  6. Click Collect transcript
Originally created by @jstawski on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4242 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Can't transcribe YoutTube videos when using the YouTube Transcript Data Connector. The logs shows the following error message: > [YOUTUBEJS][Player]: Failed to extract signature decipher algorithm. ### Are there known steps to reproduce? 1. Use Version 1.8.4 2. Open the Document Embedder of any Workspace 3. Go to Data Connectors tab 4. Select YouTube Transcript 5. Paste a public YouTube URL 6. Click Collect transcript
yindo added the possible bug label 2026-02-22 18:30:51 -05:00
yindo closed this issue 2026-02-22 18:30:51 -05:00
Author
Owner

@timothycarambat commented on GitHub (Aug 5, 2025):

For YouTube videos, please provide the exact video you are transcribing. There are lots of variations of videos that can result in failed translations due to how locked down YT scraping is at any given time.

Just tried to replicate with this video - https://www.youtube.com/watch?v=n9Tn6-zFwCQ
No issues, so may be video specific

@timothycarambat commented on GitHub (Aug 5, 2025): For YouTube videos, please provide the exact video you are transcribing. There are lots of variations of videos that can result in failed translations due to how locked down YT scraping is at any given time. Just tried to replicate with this video - https://www.youtube.com/watch?v=n9Tn6-zFwCQ No issues, so may be video specific
Author
Owner

@jstawski commented on GitHub (Aug 5, 2025):

I just tried the same YouTube video link (https://www.youtube.com/watch?v=n9Tn6-zFwCQ) and i received the error "Response could not be completed".

The error:

[36m[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: -- Working YouTube https://www.youtube.com/watch?v=n9Tn6-zFwCQ --
[YOUTUBEJS][Player]: Failed to extract signature decipher algorithm.
[collector] info: [TikTokenTokenizer] Input will take too long to encode - estimating
[collector] info: [YouTube Loader]: Saving undefined to undefined-youtube-transcripts
[collector] error: Error: slugify: string argument expected
at replace (/app/collector/node_modules/slugify/slugify.js:20:13)
at loadYouTubeTranscript (/app/collector/utils/extensions/YoutubeTranscript/index.js:124:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /app/collector/extensions/index.js:96:43
[backend] info: [CollectorApi] Response could not be completed

@jstawski commented on GitHub (Aug 5, 2025): I just tried the same YouTube video link (https://www.youtube.com/watch?v=n9Tn6-zFwCQ) and i received the error "Response could not be completed". The error: >[36m[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] info: -- Working YouTube https://www.youtube.com/watch?v=n9Tn6-zFwCQ -- [YOUTUBEJS][Player]: Failed to extract signature decipher algorithm. [collector] info: [TikTokenTokenizer] Input will take too long to encode - estimating [collector] info: [YouTube Loader]: Saving undefined to undefined-youtube-transcripts [collector] error: Error: slugify: string argument expected at replace (/app/collector/node_modules/slugify/slugify.js:20:13) at loadYouTubeTranscript (/app/collector/utils/extensions/YoutubeTranscript/index.js:124:25) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/collector/extensions/index.js:96:43 [backend] info: [CollectorApi] Response could not be completed
Author
Owner

@timothycarambat commented on GitHub (Aug 8, 2025):

Then this is certainly client side. I am running this from a home IP. Are you on an cloud instance? YT endpoint may be blocking any cloud IP ranges (common)

@timothycarambat commented on GitHub (Aug 8, 2025): Then this is certainly client side. I am running this from a home IP. Are you on an cloud instance? YT endpoint may be blocking any cloud IP ranges (common)
Author
Owner

@jstawski commented on GitHub (Aug 8, 2025):

Yes, this is running on a container in Azure. I will try to see if I can replicate it on a local container

@jstawski commented on GitHub (Aug 8, 2025): Yes, this is running on a container in Azure. I will try to see if I can replicate it on a local container
yindo changed title from [BUG]: Can't transcribe YouTube video to [GH-ISSUE #4242] [BUG]: Can't transcribe YouTube video 2026-06-05 14:48:02 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2698