ytdlp.org
On this page

Troubleshooting guide

Fix "nsig extraction failed" in yt-dlp

The full warning is usually "nsig extraction failed: Some formats may be missing", often followed by slow, throttled downloads or missing quality options. It means YouTube changed the JavaScript that signs video URLs, and your yt-dlp build no longer knows how to solve it. This is a YouTube-side change, not something your flags caused.

Quick answer

yt-dlp -U
yt-dlp --version

Update and retry. Fixes for a new YouTube player always ship as a new yt-dlp release. Confirm the version actually changed — a package-manager install (pip, brew, apt) can silently stay on an old build while -U reports there is nothing to do. If so, update through the same package manager you installed with.

This will break again. Get an email next time.

2–4 emails a month, only when something breaks or gets fixed. Unsubscribe anytime.

The newer wording: "n challenge solving failed"

Current yt-dlp versions hand YouTube's challenges to an external JavaScript runtime (Deno by default) and a separate solver script package, so the same problem now prints something like this:

WARNING: [youtube] [jsc] Error solving n challenge request using "deno" provider: ...
WARNING: [youtube] VIDEO_ID: n challenge solving failed: Some formats may be missing. Ensure you have a supported JavaScript runtime and challenge solver script distribution installed. Review any warnings presented before this message. For more details, refer to  https://github.com/yt-dlp/yt-dlp/wiki/EJS
ERROR: [youtube] VIDEO_ID: No video formats found!

It has two causes, and the lines above it tell you which one you have:

  • No runtime or no solver scripts. Earlier warnings mention a missing JavaScript runtime. Install Deno (or Node or Bun), and install yt-dlp with its default extras so the solver scripts come with it: pip install -U "yt-dlp[default]". In a container, see the Docker JS runtime guide.
  • The runtime is there, but the solver throws a JavaScript error. YouTube shipped a player the solver doesn't handle yet. For example, on November 23, 2026, yt-dlp 2026.10.26 failed on several new players with TypeError: a.addOnDisposeCallback is not a function, with both Deno and Node. It was fixed in 2026.11.23 (yt-dlp#18123). Changing runtimes doesn't help here. Update yt-dlp, and try nightly if stable is still affected.

If the latest release still fails

  • YouTube may have changed the player in the last day or two and the counter-fix has not shipped yet. Check the yt-dlp issue tracker — during a breakage the top issue is usually exactly this, with a timeline.
  • Try the nightly build. Fixes land in nightly before the stable release: yt-dlp --update-to nightly.
  • Downloads work but crawl at a few hundred KB/s? That is the same problem — YouTube throttles unsigned requests. Do not tune rate flags; fix the nsig extraction.

Why this error is a repeat offender

YouTube rotates its player JavaScript regularly, and every rotation is a fresh puzzle for yt-dlp to solve. The maintainers are fast — fixes often land within days — but if your pipeline depends on yt-dlp, this warning is the one that will page you at 2am a few times a year. The mitigation is boring and effective: keep yt-dlp on a fast update channel and treat "update first" as step zero of every incident.

The mistake to avoid

Do not pin an old yt-dlp version in production and expect it to keep working. Extractor code has a shelf life measured in weeks. Pinning trades a known small risk (update regressions) for a guaranteed outage later.

If it keeps breaking

Tired of fixing this every time a site changes?

Paste a link to see what a managed import API returns — the one that stays current so your workflow doesn't break.

Building this into an app? See the API your backend calls instead