yt-dlp: “Sign in to confirm you’re not a bot”
This error means YouTube decided the request looked automated and asked for a signed-in session. It shows up most on cloud servers and on machines making many requests.
Why it happens
- IP reputation — datacenter IP ranges (AWS, GCP, Azure, Hetzner, Render…) are challenged far more often than home connections.
- Request volume — many requests from one IP in a short time.
- Outdated yt-dlp — older versions behave differently from current YouTube clients.
What you can do
- Update yt-dlp (
yt-dlp -Uorpip install -U yt-dlp) — many reports are fixed by the latest release. - Slow down: add delays between requests and avoid parallel bursts from one IP.
- Check yt-dlp's own documentation and issue tracker for the options its maintainers support, and make sure your use complies with YouTube's terms.
- If this is a production service, move the extraction step to a hosted API so your servers only make one HTTPS call — e.g.
GET https://api.crawlfetch.com/v1/resolve?url=….
FAQ
Why does it work on my laptop but not on my server?
Home and office IPs have a different reputation from datacenter IPs. See yt-dlp on cloud servers.
Will a download API get the same error?
CrawlFetch returns metadata and a download link, or a documented error code — your app never sees YouTube's sign-in page.
Related
Last updated 2026-10-25