Fixing Common yt-dlp Errors
What the common yt-dlp errors on Windows mean and how to fix each one: HTTP 403, ffmpeg not found, the sign-in check, missing formats and slow downloads.
First: update, then run with -v
Most yt-dlp errors have the same cause: the site changed something and your copy of yt-dlp is older than the fix. Before reading any further, update and run the failing command again. A surprising share of problems end there.
Stable builds come out roughly monthly. Fixes land first on the nightly channel, which the README recommends for regular users, so if a plain update does not help, switch to nightly and try once more.
If the error survives both, add -v to the command. Verbose output shows which version is running, whether FFmpeg and a JavaScript runtime were found, and the request that failed. Those few lines usually point straight at one of the sections below.
- Update the exe or a winget install
yt-dlp -U- Switch to the nightly channel
yt-dlp --update-to nightly- Run the failing command with full detail
yt-dlp -v "URL"
“yt-dlp is not recognized”
The full message is “'yt-dlp' is not recognized as an internal or external command”, or in PowerShell, “The term 'yt-dlp' is not recognized”. It comes from Windows, not from yt-dlp. Windows looked through the folders listed in your Path and found no program with that name.
- Find every copy on your Path
where.exe yt-dlp- Run the exe from the current folder
.\yt-dlp.exe --version
- Installed with winget a minute ago — close the terminal and open a new one. A terminal reads the Path when it starts, so a window that was already open cannot see the new install.
- Downloaded yt-dlp.exe by hand — open the terminal in the folder that holds the exe and run it as .\yt-dlp.exe, or add that folder to your Path under “Edit environment variables for your account”.
- Not sure which copy is running — where.exe lists every yt-dlp that Windows can find, in the order it would use them.
“ffmpeg not found” messages
These come in a few forms: “ffmpeg not found. Please install or provide the path using --ffmpeg-location”, the warning “ffmpeg not found. The downloaded format may not be the best available”, and “You have requested merging of multiple formats but ffmpeg is not installed”.
They all mean the same thing. Sites such as YouTube serve the picture and the sound as separate streams at higher qualities, and yt-dlp hands the job of joining them to FFmpeg. Converting audio with -x needs FFmpeg and its companion ffprobe as well. Without them yt-dlp falls back to a single lower-quality file, or stops.
Install FFmpeg, then open a new terminal so the Path is read again. If you keep a portable yt-dlp.exe, the project’s FAQ suggests the simplest layout: put ffmpeg.exe and ffprobe.exe in the same folder as yt-dlp.exe. One trap for pip users: the Python package named ffmpeg is not FFmpeg. yt-dlp needs the real program.
- Install FFmpeg
winget install Gyan.FFmpeg- Check that Windows can find it
ffmpeg -version- Point yt-dlp at a folder that holds ffmpeg.exe
yt-dlp --ffmpeg-location "C:\Tools\ffmpeg\bin" "URL"
HTTP Error 403: Forbidden
A 403 means the server understood the request and refused it. Start with the update steps above, because an out-of-date yt-dlp asking for a video the old way is the usual reason. On YouTube, also check for a JavaScript runtime warning earlier in the output and fix that first.
Some sites sit behind Cloudflare, whose bot detection decides that yt-dlp is not a browser. The project’s FAQ documents a workaround for those: open the site in your browser on the same connection, then pass that browser’s cookies and its exact User-Agent string to yt-dlp. The FAQ notes this works best with Firefox.
HTTP Error 429 is a different problem. It means your address has made too many requests and the site is blocking it for a while. Stop, wait, and when you start again, slow down. The sleep preset below adds pauses between requests and downloads.
- Send your browser’s cookies and User-Agent
yt-dlp --cookies-from-browser firefox --user-agent "USERAGENT" "URL"- Pace a long job
yt-dlp -t sleep "PLAYLIST_URL"
The “not a bot” sign-in check
“Sign in to confirm you’re not a bot” is YouTube’s wording, passed along by yt-dlp. YouTube has decided the traffic from your session looks automated and wants a signed-in viewer before it serves the video.
The first fix is patience. The yt-dlp wiki puts YouTube’s limit for a session that is not signed in at around 300 videos an hour, and recommends a delay of five to ten seconds between downloads. If you were working through a long playlist at full speed, wait a while and resume with the sleep preset.
The second fix is to let yt-dlp use the session from a browser where you are signed in. Read the wiki’s warning before you do: using an account with yt-dlp carries a risk of that account being banned, temporarily or permanently, so use it only when necessary. Cookies are meant for content that needs an account anyway, such as your own private playlists.
- Use the session from Firefox
yt-dlp --cookies-from-browser firefox "URL"
Missing formats and JS warnings
“Requested format is not available. Use --list-formats for a list of available formats” means the selector after -f matched nothing. Typical causes are a format number copied from a different video, or a filter such as mp4 at a resolution this video does not offer in mp4. List what exists with -F, and prefer sorting with -S over strict filters: -S ranks the formats and takes the best match, so it cannot come up empty.
On YouTube, formats can also be missing because yt-dlp could not run the site’s JavaScript. The signs are warnings such as “No supported JavaScript runtime could be found” or “Signature solving failed: Some formats may be missing”. yt-dlp needs an external runtime for full YouTube support. Deno is the recommended one and the only one enabled by default; it has to be on your Path or in the same folder as yt-dlp.exe. If you installed yt-dlp with pip, install it as yt-dlp[default] so the solver scripts come with it.
- List every format the video offers
yt-dlp -F "URL"- Best quality up to 1080p, without strict filters
yt-dlp -S "res:1080" "URL"- Install Deno
winget install DenoLand.Deno
“Unable to extract” and slow speeds
“Unable to extract” followed by a name — a title, a player response, some piece of page data — means yt-dlp looked for something in the page and it was not where the code expected. The site changed. There is nothing to repair on your PC: update, try nightly, and if it still fails, search the project’s issue tracker for the site’s name.
Slow downloads have a few separate causes. Check your config file for a forgotten --limit-rate, and remember that the sleep preset waits on purpose. For streams that arrive in fragments, -N downloads several at once; the default is one.
- Download four fragments at a time
yt-dlp -N 4 "URL"
Or skip the terminal
I built GetVideosLocally partly because I was tired of walking people through this list. It is a free, open-source Windows app on the same engine. yt-dlp and FFmpeg come bundled and the engine updates in the background, so the two most common failures — an old yt-dlp and a missing FFmpeg — do not come up. For videos that need a signed-in session, you add your own browser cookies in Settings.
It will not fix a site that has blocked your connection, and it does not expose every yt-dlp option. Whichever tool you use, download only what you are allowed to save: your own uploads, public-domain and Creative Commons material, and content you have permission for.
FAQ
Why did yt-dlp suddenly stop working?
Almost always because the site changed and your copy is older than the fix. Run yt-dlp -U, and if that does not help, yt-dlp --update-to nightly, then try the command again.
Do I really need FFmpeg?
For anything above the single-file formats, yes. yt-dlp uses FFmpeg to merge separate video and audio streams and to convert audio. Without it you get a lower-quality file or an error.
Is it safe to give yt-dlp my browser cookies?
The cookies stay on your PC, but the yt-dlp wiki warns that using an account this way can get it banned temporarily or permanently. Use cookies only for content that needs your account, and keep the request rate low.
How do I report a yt-dlp bug properly?
Update first, then run the failing command with -Uv added and include the complete output in the issue. The maintainers ask for this because it shows the version, the options and the exact failure.
Download GetVideosLocally for Windows. Free and open source.