Troubleshooting - Wal33D/itch-dl GitHub Wiki
Troubleshooting
This page covers common issues and their solutions when using itch-dl.
🔑 API Key Issues
"You did not provide an API key"
Problem: itch-dl requires an API key for all operations.
Solutions:
- Get your API key from itch.io API Keys
- Use it with the
--api-key
flag:itch-dl https://example.itch.io/game --api-key YOUR_API_KEY
- Or set it as an environment variable:
export ITCH_API_KEY="your_api_key_here" itch-dl https://example.itch.io/game
"Provided API key appears to be invalid"
Problem: The API key is incorrect or expired.
Solutions:
- Double-check your API key from itch.io API Keys
- Generate a new API key if needed
- Ensure there are no extra spaces or characters
🐛 Fixed Issues
"TypeError: data.owned_keys is not iterable" (Fixed in v0.6.4)
Problem: This error occurred when users had no purchased games on itch.io.
Solution: Update to itch-dl v0.6.4 or later:
npm update -g itch-dl
What was fixed: The itch.io API returns owned_keys
as an empty object {}
instead of an empty array []
when a user has no purchases. v0.6.4 handles both cases correctly.
📥 Download Issues
Empty results for "my-purchases"
Problem: itch-dl https://itch.io/my-purchases
returns no URLs.
This is normal if:
- You haven't purchased any games on itch.io
- You only have free games (which don't show in purchases)
Solutions:
- Download free games individually by their URLs
- Purchase games to add them to your library
- Use collections or creator pages for bulk downloads
"No URLs to download"
Problem: The target page contains no downloadable games.
Possible causes:
- Empty collection: The collection has no games
- Private content: You don't have access to the games
- Invalid URL: The URL doesn't exist or is malformed
- Filtering: Your filters excluded all games
Solutions:
- Verify the URL in your browser
- Check if the collection/page is public
- Remove filters and try again
- Use
--urls-only
to see what URLs are found
Collection downloads fail
Problem: Collections return errors or no results.
Common causes:
- Private collections: Only the owner can download
- Expired collections: Some collections may be removed
- Network issues: Temporary connectivity problems
Solutions:
- Ensure the collection is public
- Test with a known working collection:
https://itch.io/c/215689/public-collection
- Check your internet connection
🌐 Network Issues
Network timeouts
Problem: Downloads time out or fail due to slow connections.
Solutions:
- Reduce concurrency:
itch-dl URL --parallel 1 --api-key YOUR_KEY
- Use a different network connection
- Try again later (itch.io servers may be busy)
Rate limiting
Problem: Too many requests cause temporary blocks.
Solutions:
- Reduce parallel downloads:
--parallel 1
- Wait a few minutes before retrying
- Avoid running multiple itch-dl instances simultaneously
🎮 Game-Specific Issues
Game downloads but files are missing
Problem: Download completes but expected files aren't there.
Possible causes:
- Free game with no files: Some pages are just descriptions
- Platform filtering: Files filtered out by platform restrictions
- Access restrictions: Game requires purchase or special access
Solutions:
- Check if the game actually has downloadable files
- Remove platform filters: don't use
--filter-files-platform
- Verify the game isn't purchase-only
Large games fail to download
Problem: Big games (>1GB) fail during download.
Solutions:
- Check available disk space
- Use a stable internet connection
- Try downloading to a different directory
- Download one game at a time:
--parallel 1
📱 Platform Issues
Linux/macOS permission errors
Problem: Can't write to download directory.
Solutions:
- Use a directory you own:
--download-to ~/Downloads/itch
- Check directory permissions:
ls -la
- Create the directory first:
mkdir -p ~/Downloads/itch
Windows path issues
Problem: Paths with spaces or special characters fail.
Solutions:
- Use quotes around paths:
--download-to "C:\My Games\itch"
- Avoid special characters in directory names
- Use forward slashes:
--download-to C:/Games/itch
🔍 Debugging
Enable verbose logging
Get more detailed output for debugging:
itch-dl URL --verbose --api-key YOUR_KEY
Test with --urls-only
See what URLs are being found without downloading:
itch-dl URL --urls-only --api-key YOUR_KEY
Check specific game
Test with a known working game:
itch-dl https://ncase.itch.io/anxiety --urls-only --api-key YOUR_KEY
🆘 Getting Help
If you're still having issues:
- Check existing issues: GitHub Issues
- Update to latest version:
npm update -g itch-dl
- Test with a known working example from Tested Games
- Create a new issue with:
- Your itch-dl version:
itch-dl --version
- The exact command you ran
- The full error message
- Your operating system
- Your itch-dl version:
📋 Common Solutions Checklist
Before reporting an issue, try these:
- Updated to the latest version
- Verified your API key works
- Tested with a known working URL
- Checked the URL in your browser
- Tried with
--urls-only
first - Used
--verbose
for more details - Checked available disk space
- Verified internet connection
Last Updated: 2025-07-15 (v0.6.4)