yt-dlp 403 Forbidden with Deno: -F works, download fails
yt-dlp is current, Deno shows up as detected, -F lists formats normally, and the download still dies with HTTP Error 403: Forbidden. Don’t reinstall anything yet: run yt-dlp -vU on the same URL and read the lines that come after the Deno entry.
The short answer
As of November 2026: if the -vU log lists deno as a JS challenge provider, Deno being detected does not explain the 403. The log shows Deno solving the JS challenges, so read the other lines instead: PO Token Providers: none, the skipped SABR formats, and tv_downgraded UNPLAYABLE.
Next, compare runs with and without cookies, then try a different network path. No verified fix exists yet.
yt-dlp -vU "<your video URL>"
The error
ERROR: unable to download video data: HTTP Error 403: Forbidden
This is the line that ends the run. It shows up when yt-dlp is already current and Deno is installed and detected, so the usual “install a JS runtime” advice does not apply.
The odd part is the pattern. Running -F on the same URL works and lists formats normally, but the actual download fails with the 403. One reporter also saw the identical command succeed on the first run (formats 399 and 251, 17.18MiB at 4.60MiB/s) and then fail with this 403 on the second.
How to fix it
1. Update with the command that matches your install
Use the command for the install you actually launch, then re-run the failing download. If the tool says you are current, move on.
Standalone executable:
yt-dlp -U
pip install:
pip install -U yt-dlp
2. Capture the full log with -vU
Run the failing URL with -vU and keep the whole output, not just the last line.
yt-dlp -vU "<your video URL>"
3. Read the Deno line, then lower its priority
If the log lists deno under JS Challenge Providers, yt-dlp found the runtime. In the reported log, deno was listed and the other three runtimes (bun, node and quickjs) were marked unavailable.
A 403 after detection leaves nothing Deno-related to compare, so put reinstalling it near the bottom of your list. That is an inference from the log, not something the docs state. Which Deno version works or fails is not confirmed.
If the old YTNsigDeno plugin is still installed, remove it. It is dead.
4. Compare the other log lines to yours
These lines are the candidate causes. The ERROR: unable to download video data: HTTP Error 403: Forbidden line is only the symptom.
| Log line | What it tells you |
|---|---|
PO Token Providers: none |
No PO Token provider was available in the reported run. |
web_safari (or a web client) formats skipped, missing a URL, SABR |
YouTube forced SABR streaming for that client, so its https formats were dropped. The client name differs between two reports. |
tv_downgraded player response playability status: UNPLAYABLE |
The tv_downgraded response for that video came back unplayable. |
The reporter saw -F list formats while the download failed, which suggests listing and downloading are separate stages. Which of the three lines triggers the 403 is not confirmed, so check all of them.
5. Run the same URL with and without cookies
If you pass --cookies-from-browser firefox, run the same URL twice, once with the option and once without.
yt-dlp -vU --cookies-from-browser firefox "<your video URL>"
yt-dlp -vU "<your video URL>"
The notes on the temporary partial fix warn that passing cookies can leave some formats unavailable. Dropping cookies is untested against this 403, so read the result as a comparison. If the outcome differs, cookies are involved. If not, cross them off.
6. Check whether your IP or network path matters
One reporter saw the identical command succeed on some runs and fail with 403 on others, roughly 1 in 8 to 10. By their own account, the problem applied only to their IPv4 address, and routing through a Cloudflare Warp proxy avoided it. That is a single community observation, not a confirmed cause or an official fix.
To test your own case:
- Repeat the exact same command about ten times and count the failures.
- Run it again through a proxy you already have, then count again.
- If the failure rate drops on the proxy, your direct IP is the likely factor. If it stays the same, the IP theory loses weight.
The same reporter also ran a SABR-specific format selector (protocol=sabr) alongside the normal client. There is no result from it to build steps on, so I am not recommending it.
7. Record your exact versions
If the failures persist, there is no verified fix in the material behind this post. Note your yt-dlp version, Deno version and install method before you report anything.
The reports come from separate environments, so don’t read them as one setup:
- yt-dlp stable 2025.10.14 (macOS executable)
- yt-dlp 2026.08.19
- yt-dlp 2026.10.26
Their Deno versions also differ (2.7.1, 2.9.6 and 2.9.7).
Why this happens
The deno entry under JS Challenge Providers guarantees one thing: yt-dlp found a runtime for the challenge step. It does not guarantee that YouTube will then hand over the media, so that line gives you no reason to blame Deno for the 403.
That is also why -F can list formats while the download fails. Listing formats and fetching the media are separate stages, and YouTube can accept the first and reject the second. This is my reading of the reporter’s observation, not documented yt-dlp behavior.
The other log lines (no PO Token provider, SABR-forced web formats, an UNPLAYABLE tv_downgraded response) are the candidates. The log alone cannot tell you which one triggers the 403.
Common mistakes
Reinstalling Deno after it is already detected. Skip it. Read the
PO Token Providers: none, SABR andtv_downgradedlines first; no source confirms that a reinstall changes any of them.Assuming cookies change the outcome. The partial fix may leave some formats unavailable when cookies are passed, but no source confirms that cookies add or remove this 403. Treat any difference as a hint, not a rule.
Declaring victory after one good run. The same command can succeed and then fail on the next try, roughly 1 in 8 to 10 runs in one report. Count failures over repeated runs before you credit any change, and compare a direct run against a proxied one under the same conditions.
FAQ
Q. Deno is detected. Can I uninstall it? A.
Removing it is unlikely to help, since yt-dlp needs an external JS runtime for YouTube and yours is already detected. The cause of the 403 is not confirmed.
Q. Will a later yt-dlp release fix this 403? A. Nothing in the material I have names an official fix for a 403 that appears with Deno working. After any update (yt-dlp -U for the executable, pip install -U yt-dlp for pip), capture a fresh -vU log and compare the PO Token, SABR and tv_downgraded lines with your earlier one.
Q. Should I file a bug report? A. Only after the update, cookie and network checks change nothing.
Attach the full -vU output, not just the final error line, and state your install method. The reports behind this post come from different builds, so your exact version is what lets maintainers separate your case from the others.
Recap
- Update with the command for your install:
yt-dlp -Ufor the executable,pip install -U yt-dlpfor pip. - Capture the full
yt-dlp -vU "<URL>"log, then checkPO Token Providers, the skipped SABR formats, and thetv_downgradedUNPLAYABLE line. - Treat a
denodetection as a lead, not the cause: test cookies and your network path one at a time.
Sources
This article was created using generative AI based on publicly available sources.