Windows 11/10  ·  Common errors  ·  Step-by-step fixes

gallery-dl Not Working on Windows — Fix Common Errors

Most gallery-dl errors on Windows have simple fixes. Start here: update gallery-dl with gallery-dl -U and check cookies. That solves 80% of issues.

Always start here:

Step 1 — update gallery-dl
gallery-dl -U
Step 2 — run with verbose output to see the full error
gallery-dl -v "URL"

gallery-dl error messages and how to fix them

"Login required" or "Authentication required"
Cause: The site requires you to be logged in to access this content.

Fix: Log in to the site in Chrome (or Firefox/Edge), close the browser completely, then run: gallery-dl --cookies-from-browser chrome "URL" If cookies keep expiring, export a cookies.txt file instead. See the cookies guide.
"gallery-dl is not recognized as a command"
Cause: PowerShell can't find gallery-dl.exe because its folder isn't in PATH.

Fix — option 1: Navigate to the folder containing gallery-dl.exe in Explorer, click the address bar, type powershell, press Enter. Run gallery-dl from there.

Fix — option 2: Add the gallery-dl folder to your PATH. See the install guide for step-by-step instructions.
HTTP error 403 Forbidden
Cause: The site is blocking the request — either rate limiting, login required, or geo-blocking.

Fix: First update gallery-dl: gallery-dl -U. Then try with cookies: gallery-dl --cookies-from-browser chrome "URL" If you're using a VPN, try disabling it — some VPN exit nodes are blocked. Add --sleep-request 3 if you're hitting rate limits.
gallery-dl downloads nothing — exits immediately
Cause: Login required, unsupported URL format, or the extractor needs updating.

Fix: Run with verbose output to see the exact error: gallery-dl -v "URL" Then try with cookies: gallery-dl --cookies-from-browser chrome "URL". Update gallery-dl: gallery-dl -U.
SSL certificate error on Windows
Cause: Windows certificate store is outdated, or a proxy/VPN is intercepting HTTPS.

Fix: Run Windows Update (Settings → Windows Update), then retry. If you're behind a corporate proxy, contact your IT team. As a last resort only: gallery-dl --no-check-certificate "URL" — not recommended long-term as it disables certificate validation.
Windows SmartScreen blocks gallery-dl.exe
Cause: SmartScreen flags unsigned portable executables by default — this is a false positive.

Fix: Click More infoRun anyway. Or right-click gallery-dl.exe → Properties → tick Unblock at the bottom → OK. The file is the unmodified official GitHub release.
"database is locked" when using --cookies-from-browser
Cause: Chrome or Edge locks its SQLite cookie database while running.

Fix: Close the browser completely — including the system tray icon. Then run gallery-dl again. Alternatively, export cookies to a cookies.txt file and use --cookies instead of --cookies-from-browser.
gallery-dl is very slow — downloads stall or stop
Cause: Rate limiting by the site, unstable connection, or VPN throttling.

Fix: Add --sleep-request 3 --retries 5 to your command. For persistent stalls, try --part to resume partial downloads. Avoid VPNs that throttle traffic for large downloads.
"Unsupported URL" error
Cause: The URL format has changed or the site isn't supported.

Fix: Update gallery-dl with gallery-dl -U. Check the supported sites list. Make sure you're using the correct URL format — some sites have changed their URL structure.

Debug commands — get more information

Verbose output — see full error details and request log
gallery-dl -v "URL"
Simulate — list what would be downloaded without downloading
gallery-dl --simulate "URL"
Print all available metadata fields for a URL
gallery-dl --dump-json "URL"
Check installed version
gallery-dl --version