Connection Issues
Chrome Remote Debugging Not Working
Symptom: Bot fails to connect to Chrome with error about debugger address. Cause: Chrome instance not started with remote debugging enabled. Solution:- Close all Chrome instances completely
- Open Command Prompt (CMD) as Administrator
- Navigate to Chrome installation directory:
- Start Chrome with debugging for FIFA:
- In a separate CMD window, start Chrome for WhatsApp:
- Log into FIFA Web App in the first window
- Log into WhatsApp Web in the second window
- Run the bot script
”Element Not Found” Errors
Symptom: Bot crashes withNoSuchElementException or “element not found” errors.
Common Causes:
1. EA Updated the Web App UI
1. EA Updated the Web App UI
Symptom: Bot suddenly stops working after an EA update.Solution:
- XPath selectors may have changed
- Inspect the element in Chrome DevTools (F12)
- Update the XPath in the corresponding function
- Example:
Check the FIFA Bot community forums or Discord for updated XPaths after EA updates.
2. Page Not Fully Loaded
2. Page Not Fully Loaded
Symptom: Bot clicks too fast before elements appear.Solution:
- Increase
time.sleep()delays in the affected function - Use explicit waits instead of fixed sleeps:
3. Wrong Screen Context
3. Wrong Screen Context
Symptom: Bot tries to interact with element on wrong screen.Solution:
- Add navigation checks before operations
- Example:
4. Session Expired
4. Session Expired
Symptom: Bot can’t find elements because FIFA session logged out.Solution:
- Bot should auto-detect and call
reLogin() - If not working, manually trigger relogin:
- Update Firebase:
{"comando": "RELOGIN"} - Or restart bot after logging in manually
- Update Firebase:
Firebase Connection Issues
Symptom: Bot starts but remote control doesn’t work. Cause: Firebase authentication or database issues. Diagnostic Steps:-
Check Firebase initialization:
-
Verify Firebase config:
-
Test database write:
API Key Invalid
API Key Invalid
- Your Firebase project credentials may have changed
- Go to Firebase Console → Project Settings → General
- Copy the web app configuration
- Replace
configdictionary in the bot script
Database Rules Too Restrictive
Database Rules Too Restrictive
- Go to Firebase Console → Realtime Database → Rules
- For testing, set to:
Network/Firewall Blocking
Network/Firewall Blocking
- Check if firewall blocks port 443 (Firebase uses HTTPS)
- Try disabling antivirus temporarily
- Test with mobile hotspot to rule out network issues
WhatsApp Automation Issues
Messages Not Sending
Symptom: Bot runs but doesn’t send WhatsApp notifications. Checklist:- ✅ WhatsApp Web is open in Chrome on port 9222
- ✅
eWcheckbox is enabled in bot UI - ✅ Target chat is first in WhatsApp sidebar (pin it)
- ✅ WhatsApp Web is not showing “Phone not connected” warning
- Open WhatsApp Web in Chrome
- Press F12 (Developer Tools)
- Click the “Select Element” tool (Ctrl+Shift+C)
- Click the element you want (chat, input box, send button)
- In DevTools, right-click the highlighted HTML
- Copy → Copy XPath
- Update the bot script
Consider using CSS selectors instead of XPath for better stability:
Screenshots Not Sending
Symptom: Text messages work but screenshots fail. Possible Causes:Clipboard Issues (Windows)
Clipboard Issues (Windows)
Solution:
- Ensure
win32clipboardis installed: - Restart Python after installing
- Check if other apps are accessing clipboard
PIL/Pillow Not Working
PIL/Pillow Not Working
Solution:
- Reinstall Pillow:
- Verify
screenshot.pngis being created in bot directory
Image Send Button Changed
Image Send Button Changed
Bot Behavior Issues
Bot Stops Unexpectedly
Symptom: Bot runs for a while then stops without error. Common Causes:1. Exception in Main Loop
1. Exception in Main Loop
Diagnostic:
- Check console for “ALGO OCURRIO” messages
- If recovery fails twice, bot exits
- Improve error handling in
iniciar()function - Add logging to identify which operation fails:
2. Session Timeout
2. Session Timeout
Symptom: Bot stops after 1-2 hoursSolution:
- EA kicks you out after inactivity
- Enable remote relogin:
- Or implement auto-relogin detection:
3. Rate Limiting
3. Rate Limiting
Symptom: Bot slows down or stops after many requestsSolution:
- EA implements rate limiting
- Increase delays between actions:
- Increase
iteravalue (e.g., from 10 to 20) - Add random delays:
4. Transfer List Full
4. Transfer List Full
Symptom: Bot can’t list items, stops buyingSolution:
- Increase
iterafrequency to clear sold items more often - Manually clear unsold items
- Check if prices are too high (items not selling)
Not Finding Items to Buy
Symptom: Bot searches but never clicks items. Diagnostic:1. Max Price Too Low
1. Max Price Too Low
- Market prices increased
- Run
revisarPrecio()orbuscarRango()to find new range - Manually adjust
maximofield upward
2. Filters Too Narrow
2. Filters Too Narrow
- Loosen search criteria:
- Remove club/nationality filters
- Expand position to multiple roles
- Try different leagues
- Click “Selecciones” to apply updated filters
3. High Competition
3. High Competition
- Other bots/snipers are faster
- Solutions:
- Use fast mode (
rapido=2) - Target less popular items
- Search during off-peak hours
- Use fast mode (
Buying But Not Selling
Symptom: Items bought successfully but stay in transfer list. Causes:-
Prices Too High:
- Check if
finalprice is competitive - Compare to lowest market price
- Run
buscarRango()to find realistic sell price
- Check if
-
Item Type Changed:
- EA may have released new cards (TOTW, promos)
- Your card type is now outdated
- Check market manually and adjust strategy
-
definirPrecio() Failing:
- Add logging:
- Add logging:
Performance Issues
Bot Running Too Slowly
Symptom: Searches taking 10+ seconds each. Optimizations:-
Enable Fast Mode:
-
Reduce Unnecessary Waits:
-
Disable Screenshots:
- Uncheck
eSScheckbox - Screenshots slow down execution significantly
- Uncheck
-
Optimize Selenium:
High CPU/Memory Usage
Symptom: Chrome using excessive resources. Solutions:-
Close Unused Tabs:
- Only keep FIFA and WhatsApp tabs open
- Close extensions/background tabs
-
Restart Chrome Periodically:
- Close Chrome instances
- Clear user data directories:
- Restart debugging sessions
-
Limit Screenshot Frequency:
- Only enable screenshots for errors:
- Only enable screenshots for errors:
Security & Ban Prevention
Account Banned or Flagged
Symptom: FIFA account receives warnings or temporary bans. Prevention Strategies:1. Humanize Bot Behavior
1. Humanize Bot Behavior
- Add random delays:
- Vary search patterns (don’t repeat same item)
- Take breaks (stop bot for 30 min every 2 hours)
2. Limit Daily Volume
2. Limit Daily Volume
- Don’t buy/sell more than 50-100 items per day
- Set
cuantoslimit:
3. Avoid Peak Detection Times
3. Avoid Peak Detection Times
- EA monitors heavily during:
- New content drops (6PM UK time)
- Weekend League rewards (Thursdays)
- TOTS/major promos
- Bot during off-peak hours (2-6 AM local time)
4. Use Realistic Prices
4. Use Realistic Prices
- Don’t undercut market by huge margins
- Follow market trends
- Avoid suspicious patterns (same price repeatedly)
Advanced Troubleshooting
Enable Debug Logging
Add comprehensive logging to diagnose issues:Check Selenium Driver Version
Symptom: Selenium commands fail randomly. Solution: Ensure ChromeDriver matches Chrome version:-
Check Chrome version:
- Open Chrome → Three dots → Help → About Google Chrome
- Note version (e.g., 120.0.6099.109)
-
Download matching ChromeDriver:
- Visit https://chromedriver.chromium.org/downloads
- Download version matching your Chrome
-
Replace old ChromeDriver:
-
Verify:
Remote Debugging Not Releasing Ports
Symptom: “Port already in use” error when starting Chrome. Solution:-
Find processes using the port:
-
Kill the process:
-
Or use different ports:
Getting Help
If you’re still experiencing issues:-
Check the Logs:
- Console output
fifa_bot.logif enabled- Screenshots in bot directory
-
Gather Information:
- What function is failing?
- Error message (full traceback)
- Chrome/ChromeDriver versions
- When did it stop working?
-
Community Resources:
- GitHub Issues (if open source)
- Discord/Telegram bot communities
- Stack Overflow (
selenium+fifatags)
-
Provide Debug Info:
When asking for help, always include:
- Python version
- Selenium version
- Chrome version
- Full error message
- Relevant code snippet