Skip to main content
This guide covers common issues you might encounter when using yt-dlp and their solutions.

Before You Start

Always update to the latest nightly version before reporting issues:
Many issues are already fixed in newer versions.

Check Verbose Output

When troubleshooting, always use verbose mode to see detailed information:

Common Error Messages

”ERROR: Unable to download webpage: HTTP Error 403: Forbidden”

Cause: The website is blocking your request, often due to:
  • Geographic restrictions
  • Rate limiting
  • Bot detection
  • TLS fingerprinting
Solutions:
Requires curl_cffi to be installed. See available targets:
Supported browsers: firefox, chrome, chromium, edge, opera, safari

”ERROR: [youtube] Video unavailable”

Solutions:
YouTube frequently changes its code. Ensure you have:
  1. Latest nightly version
  2. yt-dlp-ejs installed with a JavaScript runtime
Check the EJS wiki for setup.
Some videos require authentication:
Try opening the URL in your browser to verify the video exists and is accessible.

”ERROR: ffmpeg not found”

Cause: ffmpeg is not installed or not in your system PATH. Solutions:
Or specify ffmpeg location:
Use yt-dlp’s custom ffmpeg builds which include patches for known issues.

”ERROR: Requested format is not available”

Cause: The format you requested doesn’t exist for this video. Solutions:
This shows all available formats with their IDs.

”ERROR: This video requires payment to watch”

Cause: The video is behind a paywall or requires authentication. Solution: Use cookies from a logged-in browser session:
yt-dlp cannot bypass DRM protection. If a video uses DRM (like Widevine), it cannot be downloaded.

”WARNING: unable to obtain file audio codec with ffprobe”

Cause: ffprobe is missing or outdated. Solution: Install/update ffmpeg (includes ffprobe):

Download Issues

Slow Download Speeds

Solutions:
Install aria2c:
  • Linux: sudo apt install aria2
  • macOS: brew install aria2
  • Windows: Download from aria2 releases
Downloads 10 fragments concurrently (default is 1).
Some servers throttle if you download too fast.

Download Keeps Failing

Solutions:

“ERROR: unable to download video data: HTTP Error 416”

Cause: Server doesn’t support resuming from where you left off. Solution:
This restarts the download from the beginning.

Authentication Issues

”ERROR: Unable to log in”

Solutions:
Many sites block programmatic login but work with cookies:
Verify your username and password are correct:
Create ~/.netrc (Unix) or %HOME%\_netrc (Windows):
Then run:
If the site uses 2FA, use cookies from browser instead of direct login.

Post-Processing Issues

”ERROR: Postprocessing failed”

Cause: Usually related to missing or incompatible ffmpeg. Solutions:
Ensure you have a recent version (4.0+).
Download from yt-dlp/FFmpeg-Builds

Thumbnail Embedding Failed

Solutions:

Playlist Issues

”ERROR: Unable to download just video (if you want to download playlist, pass —yes-playlist)”

Solution: If the URL contains both a video and playlist:

Playlist Download Incomplete

Solutions:

Platform-Specific Issues

Windows

Use Command Prompt instead of PowerShell, or set UTF-8 encoding:
Use shorter output templates or enable long path support in Windows.

macOS

Make the binary executable:
Remove quarantine attribute:

Linux

Install ca-certificates:
Reinstall Python with SSL support:

Getting Help

Check the FAQ

Many common questions are answered in the FAQ.

Search Existing Issues

Before reporting a bug, search GitHub Issues to see if it’s already reported.

Reporting Bugs

When reporting an issue, always include:
  1. Full verbose output:
  2. Version information:
  3. Complete command used
  4. URL (if not private/sensitive)
For privacy, you can redact sensitive URLs, but provide enough context about the site/extractor being used.

Community Support

Join the discussion:
Do not ask for help downloading copyrighted content. yt-dlp is a tool - it’s your responsibility to use it legally.