- Updated index.md to improve structure and navigation, added new guides for getting started and feature explanations. - Created notifications.md detailing setup for Discord webhooks and NTFY mobile alerts, including examples and troubleshooting tips. - Added troubleshooting.md covering common issues, installation problems, login issues, account problems, browser issues, configuration problems, performance issues, and diagnostic log retrieval.
7.9 KiB
🔧 Troubleshooting
Common issues and how to fix them
📋 Table of Contents
- Installation Issues
- Login Problems
- Account Issues
- Browser Issues
- Configuration Problems
- Performance Issues
- Getting Diagnostic Logs
📦 Installation Issues
"npm install" fails
Problem: Dependencies won't install
Solutions:
# Clear npm cache
npm cache clean --force
# Delete node_modules and try again
rm -rf node_modules package-lock.json
npm install
# Try with legacy peer deps
npm install --legacy-peer-deps
"npm run build" fails
Problem: TypeScript compilation errors
Solution:
# Make sure you have the latest dependencies
npm install
# Check Node.js version (needs 20+)
node --version
# Try cleaning build cache
npm run build --clean
Permission denied (Linux/Mac)
Problem: Can't run setup scripts
Solution:
chmod +x setup/setup.sh
bash setup/setup.sh
Execution policy error (Windows)
Problem: PowerShell blocks scripts
Solution:
# Run as Administrator
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Then run setup
.\setup\setup.bat
🔐 Login Problems
"Account credentials are invalid"
Cause: Wrong email/password or missing TOTP
Solutions:
- Verify credentials in
src/accounts.jsonc - Test manually at https://login.live.com/
- Check TOTP if 2FA enabled (see Accounts Guide)
- Check for typos in email/password (copy-paste recommended)
"TOTP challenge still present after multiple attempts"
Cause: Invalid TOTP secret or time sync issue
Solutions:
- Verify TOTP secret format (Base32, no spaces)
- Check system time is accurate (use NTP)
- Re-setup 2FA and get new secret
- Test with authenticator app first
Example of valid TOTP:
{
"email": "test@outlook.com",
"password": "password123",
"totp": "JBSWY3DPEHPK3PXP" // ✅ Valid Base32
}
"Login timeout" or "Page did not load"
Cause: Network issues or slow connection
Solutions:
- Check internet connection
- Increase timeout in
config.jsonc:{ "browserConfig": { "timeout": 60000 // Increase to 60 seconds } } - Use proxy if connection is unreliable
- Disable VPN temporarily to test
"Recovery email mismatch detected"
Cause: Recovery email in config doesn't match Microsoft's records
Solutions:
- Check recovery email on https://account.microsoft.com/
- Update
accounts.jsoncwith correct recovery email - Leave empty if no recovery email set:
{ "recoveryEmail": "" }
🚫 Account Issues
"Account suspended" or "Ban detected"
Cause: Microsoft detected automation
Prevention:
- ✅ Always enable humanization in config
- ✅ Run once per day maximum
- ✅ Use different proxies per account
- ✅ Don't run multiple accounts from same IP
Recovery Steps:
- Wait 24-48 hours before trying again
- Use account recovery with birthdate/recovery code from
accounts-created/ - Contact Microsoft support if permanently banned
- Check Security Guide for best practices
"Account locked" message
Cause: Too many failed login attempts
Solution:
- Go to https://account.live.com/acsr
- Follow the account recovery process
- Use birthdate from
accounts-created/file - Wait 24 hours before running bot again
"Verify it's you" security challenge
Cause: Microsoft wants additional verification
Solutions:
- Complete manually at https://account.microsoft.com/
- Add recovery email if not set
- Enable 2FA for better trust
- Use proxy to avoid location inconsistencies
🌐 Browser Issues
"Browser launch failed" or "Executable doesn't exist"
Cause: Playwright browser not installed
Solution:
npx playwright install chromium
# Or install all browsers
npx playwright install
Browser crashes or freezes
Cause: Memory issues or system resources
Solutions:
- Close other applications
- Reduce clusters in config:
{ "execution": { "clusters": 1 // Run one at a time } } - Increase system RAM if possible
- Check disk space (needs ~500MB free)
"Chrome error://chromewebdata/" errors
Cause: Browser navigation interrupted
Solution: The bot automatically handles this with retry logic. If it persists:
- Check internet stability
- Clear browser cache:
rm -rf sessions/ - Reinstall Playwright:
npx playwright install --force chromium
⚙️ Configuration Problems
"config.jsonc not found"
Solution:
# Copy from example
cp src/config.example.jsonc src/config.jsonc
# Or use setup wizard
npm run setup
"accounts.jsonc not found"
Solution:
# Copy from example
cp src/accounts.example.jsonc src/accounts.jsonc
# Edit with your credentials
"Invalid JSON" error
Cause: Syntax error in JSON file
Solutions:
- Use a JSON validator: https://jsonlint.com/
- Check for:
- Missing commas
- Trailing commas before
} - Unescaped quotes in strings
- Missing closing brackets
Settings not applying
Solution:
- Rebuild after config changes:
npm run build - Restart bot completely
- Check file is saved before running
⚡ Performance Issues
Bot runs very slowly
Causes & Solutions:
-
Too many accounts running in parallel:
{ "execution": { "clusters": 1 // Reduce from higher number } } -
Slow internet connection:
- Use wired connection instead of WiFi
- Increase timeouts in config
- Run during off-peak hours
-
System resources low:
- Close other applications
- Check CPU/RAM usage
- Consider running on better hardware
Searches taking too long
Solution: Adjust search delays:
{
"search": {
"settings": {
"searchDelay": {
"min": 2000, // Reduce if too slow
"max": 3000
}
}
}
}
High memory usage
Solutions:
- Run fewer accounts in parallel
- Close browser between accounts:
{ "execution": { "closeBrowserOnError": true } } - Clear sessions regularly:
rm -rf sessions/
📊 Getting Diagnostic Logs
Capture full logs
Linux/Mac:
npm start > logs.txt 2>&1
Windows:
npm start > logs.txt 2>&1
Enable debug mode
Add to config.jsonc:
{
"debug": true,
"headless": false // See browser in action
}
Check dashboard logs
If dashboard is enabled:
- Go to http://localhost:3000
- Click "Logs" tab
- View real-time logs
- Download log file if needed
Useful log locations
- Main logs: Console output
- Error logs:
reports/folder (if error reporting enabled) - Screenshots:
reports/screenshots/(on errors) - Session data:
sessions/folder
🆘 Still Need Help?
If none of these solutions work:
- 💬 Join Discord — Get community support
- 🐛 Open GitHub Issue — Report the bug
- 📖 Check FAQ — Common questions answered
When asking for help, include:
- Operating system (Windows/Linux/Mac)
- Node.js version (
node --version) - Error message (full text or screenshot)
- Relevant config (remove sensitive data!)
- Steps to reproduce the issue