[GH-ISSUE #4138] [BUG]: Youtube transcript connector fails if channel name contains invalid characters for filepath #2629

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

Originally created by @BAGR on GitHub (Jul 13, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4138

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

I also tested it on a different channel without ":" in its name and it worked perfectly.
I guess this could be a potential security bug too.

{"level":"info","message":"-- Working YouTube https://www.youtube.com/watch?v=NxOehfOfB6c --","service":"collector"}
{"level":"error","message":"Error: ENOENT: no such file or directory, mkdir 'C:\Users\BAGR\AppData\Roaming\anythingllm-desktop\storage\documents\spec-again:-reinventing-modern-software-careers-youtube-transcripts'\n at mkdirSync (node:fs:1396:3)\n at Object.mkdirSync (node:electron/js2c/asar_bundle:2:12611)\n at La (C:\Program Files\AnythingLLM\resources\backend\collector.js:37:5128)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async C:\Program Files\AnythingLLM\resources\backend\collector.js:45:9755","service":"collector"}

Are there known steps to reproduce?

No response

Originally created by @BAGR on GitHub (Jul 13, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4138 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? I also tested it on a different channel without ":" in its name and it worked perfectly. I guess this could be a potential security bug too. {"level":"info","message":"-- Working YouTube https://www.youtube.com/watch?v=NxOehfOfB6c --","service":"collector"} {"level":"error","message":"Error: ENOENT: no such file or directory, mkdir 'C:\\Users\\BAGR\\AppData\\Roaming\\anythingllm-desktop\\storage\\documents\\spec-again:-reinventing-modern-software-careers-youtube-transcripts'\n at mkdirSync (node:fs:1396:3)\n at Object.mkdirSync (node:electron/js2c/asar_bundle:2:12611)\n at La (C:\\Program Files\\AnythingLLM\\resources\\backend\\collector.js:37:5128)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async C:\\Program Files\\AnythingLLM\\resources\\backend\\collector.js:45:9755","service":"collector"} ### Are there known steps to reproduce? _No response_
yindo added the possible buginvestigating labels 2026-02-22 18:30:31 -05:00
yindo closed this issue 2026-02-22 18:30:31 -05:00
yindo changed title from [BUG]: Youtube transcript connector fails if channel name contains invalid characters for filepath to [GH-ISSUE #4138] [BUG]: Youtube transcript connector fails if channel name contains invalid characters for filepath 2026-06-05 14:47:39 -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#2629