πŸ†˜ Troubleshooting & Support

Find solutions to common problems and answers to frequently asked questions.


Problem Solution
Server won’t start See FAQ: Installation & Setup
MongoDB connection fails See FAQ: Database Issues
WhatsApp disconnects See FAQ: Connection & Session
Messages not sending See FAQ: Messaging Issues
Port already in use See FAQ: Common Errors
Webhook not triggering See FAQ: Webhooks & Integration
Media upload fails See FAQ: Media & Files
High CPU/Memory usage See FAQ: Performance & Optimization

Getting Help

1. Check the FAQ

2. Review Deployment Guide

  • See Deployment Guide for environment-specific setup
  • Covers VPS, Docker, Heroku, AWS, and home server deployments

3. Check API Reference

  • See API Reference for endpoint specifications
  • Verify request/response formats

4. Review Logs

  • Check application logs: npm run dev or pm2 logs
  • Check MongoDB connection logs
  • Enable debug mode: DEBUG=* npm run dev

5. Search Issues


Common Issues at a Glance

Installation Issues

  • npm ci fails β†’ Check Node.js version (18+), npm cache, internet connection
  • MongoDB URL error β†’ Verify MONGO_URL in .env file
  • Port 3000 in use β†’ Change PORT in .env or kill existing process

Runtime Issues

  • WhatsApp QR won’t scan β†’ Check browser console, session storage, network
  • Messages fail silently β†’ Verify account is connected, check webhook logs
  • API returns 404 β†’ Verify endpoint path, account ID, and request method
  • Webhook not firing β†’ Check webhook URL is publicly accessible, no auth required

Production Issues

  • High memory usage β†’ Implement session cleanup, reduce payload sizes
  • Accounts disconnect periodically β†’ Add auto-reconnect logic, check network stability
  • Database growing too large β†’ Implement message/log cleanup policies

Debug Mode

Enable detailed logging:

# Show all debug output
DEBUG=* npm run dev

# Show only app debug
DEBUG=app:* npm run dev

# Show Socket.io events
DEBUG=socket.io:* npm run dev

# Show MongoDB queries
DEBUG=mongodb:* npm run dev

Still Stuck?

  1. Search GitHub Issues: notoriousarnav/wildcat/issues
  2. Ask on Discussions: notoriousarnav/wildcat/discussions
  3. Check Community: Look for similar problems in closed issues
  4. File a New Issue: Provide error logs, OS, Node version, and steps to reproduce

See Also


Table of contents


Copyright © 2024 WILDCAT. Licensed under GPL 3.0