# yt-dlp not working? Fix common yt-dlp errors

yt-dlp not working or suddenly erroring? Find your error and its fix: 403 Forbidden, the bot check, no JavaScript runtime, works locally but not on a server, ffmpeg conversion failed, formats and SSL.

Most yt-dlp failures are not mysterious. They usually come down to one of a few buckets: outdated yt-dlp, missing ffmpeg, bad format assumptions, or a site requiring cookies or sign-in state.

## Always try this first

```bash
yt-dlp -U
yt-dlp --version
```

A surprising amount of yt-dlp troubleshooting starts and ends with updating to the latest release. If you installed it with pip, update with `python3 -m pip install -U yt-dlp` instead (and with brew or your package manager the same way). Still failing? Rerun the command with `-v` and match the first `ERROR:` line to the list below.

<BreakageAlerts />

## HTTP Error 403: Forbidden

Update yt-dlp first. If that does not fix it, clear the cache and try cookies. Old extractor logic breaks often.

[Full 403 fix guide →](/guides/fix-http-error-403)

## Sign in to confirm you're not a bot

YouTube's bot check. Pass cookies from a signed-in browser and avoid datacenter IPs and request bursts.

[Full bot-check fix guide →](/guides/fix-sign-in-to-confirm-not-a-bot)

## No supported JavaScript runtime could be found

Current yt-dlp needs a JavaScript runtime (Deno, Node or Bun) to solve YouTube's challenges. Without one you get this warning and missing formats. Install one, or add it to your Docker image.

[Full JavaScript runtime fix guide →](/guides/yt-dlp-docker-js-runtime)

## Works on my computer, fails on a server or in CI

Same command, same version, but 403s or bot checks on AWS, a VPS or a CI runner. YouTube treats datacenter IPs much more strictly than home connections, so this is an IP problem, not a flag problem.

[Server and cloud IP fix guide →](/guides/yt-dlp-blocked-on-server)

## nsig extraction failed / throttled downloads

YouTube changed its player JavaScript. Update yt-dlp — the fix always ships as a new release.

[Full nsig fix guide →](/guides/fix-nsig-extraction-failed)

## Read timed out / The read operation timed out

Two different causes. If the download starts and then stalls in chunks before it dies, YouTube is throttling the media stream. If the timeout happens while yt-dlp is still fetching the page (`Unable to download webpage: The read operation timed out`), the connection to the site is slow or flaky — a VPN, proxy, ISP route or a busy server. Update first, then give it longer and let retries resume instead of restarting:

```bash
yt-dlp --socket-timeout 30 --retries infinite --fragment-retries infinite "<URL>"
```

If it only times out from a server but runs fine at home, that's datacenter-IP throttling, not your network — see the [server guide](/guides/yt-dlp-blocked-on-server).

[Stalling and "Read timed out" downloads →](/guides/yt-dlp-youtube-slow-throttled-download)

## Connection reset by peer / HTTPS connection failed mid-download

The download runs for a while, then drops with `Connection reset by peer`, `('Connection broken: ...', ...)`, or `Unable to download video data: <url> ... HTTPS connection failed`. The connection to googlevideo was cut mid-stream rather than slowed. Let yt-dlp resume the partial file instead of restarting, and retry forever:

```bash
yt-dlp --socket-timeout 30 --retries infinite --fragment-retries infinite --continue "<URL>"
```

If the resets only happen from a server or cloud box but not at home, it's datacenter-IP throttling, not a bad connection — see the [server guide](/guides/yt-dlp-blocked-on-server).

[Downloads that drop or time out mid-stream →](/guides/yt-dlp-youtube-slow-throttled-download)

## Requested format is not available

Run \`yt-dlp -F URL\` and pick a format that actually exists now. Do not assume old format IDs still work.

[Full format-error fix guide →](/guides/fix-requested-format-not-available)

## ffmpeg not found

Install ffmpeg and verify it is available on PATH. yt-dlp relies on it for merges and audio conversion.

[Full ffmpeg fix guide →](/guides/fix-ffmpeg-not-found)

## ERROR: Postprocessing: Conversion failed!

ffmpeg ran and failed, usually because it is missing, very old, or was asked for a container the streams don't fit. Update ffmpeg and rerun with -v to see the exact ffmpeg command and its error.

[ffmpeg fix guide →](/guides/fix-ffmpeg-not-found)

## SSL: CERTIFICATE\_VERIFY\_FAILED

Read the reason after it: a proxy or antivirus re-signing traffic, an outdated certificate store, or an expired or self-signed certificate each have their own fix. --no-check-certificates is the last resort, not the first fix.

[SSL error fix guide →](/guides/fix-yt-dlp-ssl-certificate-errors)

## Sign in to confirm your age / cookies required

Use cookies from a signed-in browser session when the platform requires auth or age verification.

[Cookies guide →](/guides/yt-dlp-cookies)

## Could not copy Chrome cookie database

`--cookies-from-browser chrome` fails with `Could not copy Chrome cookie database` (the error points at yt-dlp issue #7271) when Chrome is open: it locks the cookie file while running, and recent versions encrypt it with a key yt-dlp cannot always read. Close Chrome completely first, including any background process. If it still fails, read the cookies from `--cookies-from-browser firefox` instead, or export a `cookies.txt` file from a logged-in session and pass it with `--cookies cookies.txt`.

[Cookies guide →](/guides/yt-dlp-cookies)

## ExtractorError / unsupported site changes

Update yt-dlp first. A lot of breakages are upstream site changes that get patched in newer releases.

[Update guide →](/guides/update-yt-dlp)

## How to troubleshoot faster

Do not randomly rotate flags. Identify which bucket the failure belongs to first: update problem, auth problem, ffmpeg problem, or format problem. That alone removes a lot of wasted trial and error.

<DocCta variant="troubleshooting-soft" />

<Faq />

## Related guides

- [Update yt-dlp](/guides/update-yt-dlp)
- [Use cookies with yt-dlp](/guides/yt-dlp-cookies)
- [Fix ffmpeg not found](/guides/fix-ffmpeg-not-found)
- [Understand format selection](/guides/yt-dlp-format-selection)
- [Install yt-dlp](/guides/install-yt-dlp)
- [Fix HTTP 403 / forcing SABR streaming](/guides/fix-403-sabr)
- [Fix "No supported JavaScript runtime" in Docker](/guides/yt-dlp-docker-js-runtime)
- [yt-dlp works locally but not on a server](/guides/yt-dlp-blocked-on-server)
- [Fix fragment 500 errors and empty files](/guides/yt-dlp-fragment-500-empty-file)
- [YouTube downloads that stall and time out](/guides/yt-dlp-youtube-slow-throttled-download)
- [Fix "ERROR: Unsupported URL"](/guides/fix-yt-dlp-unsupported-url)
- [Fix Vimeo "The web client only works when logged-in"](/guides/fix-vimeo-web-client-logged-in)
- [Fix SSL errors (CERTIFICATE\_VERIFY\_FAILED)](/guides/fix-yt-dlp-ssl-certificate-errors)