Installation & Setup Issues
Database connection failed
Database connection failed
Error:
ECONNREFUSED or Connection timeoutSolutions:- Verify DATABASE_URL is correct
- Check database is running
- Ensure firewall allows connections
- Test connection manually:
WhatsApp webhook not receiving messages
WhatsApp webhook not receiving messages
Common causes:
- HTTPS certificate invalid
- Webhook URL not accessible
- Wrong verify token
- Webhook not subscribed to message events
- Test webhook manually
- Check Meta Developer Console logs
- Verify HTTPS is working
- Ensure message field is subscribed
Application won't start
Application won't start
Check these:
- All environment variables set?
- Dependencies installed? (
npm install) - Database migrations run? (
npm run db:migrate) - Port 3000 available?
Message Delivery Issues
Messages not being delivered
Messages not being delivered
Possible causes:
- Rate limits exceeded - Check Meta Business Suite
- Invalid access token - Regenerate token
- 24-hour window expired - Use template message
- Low quality score - Improve message quality
Messages delayed
Messages delayed
Expected delivery:
- Outbound: 1-3 seconds
- Inbound to inbox: <2 seconds
- Check server CPU/memory usage
- Review database query performance
- Check WhatsApp API status
- Verify webhook processing time
Performance Issues
Slow response times
Slow response times
Diagnose:Solutions:
- Add database indexes
- Enable Redis caching
- Optimize queries
- Scale server resources
High memory usage
High memory usage
Check for:Solutions:
- Memory leaks (event listeners not removed)
- Unbound cache growth
- Too many concurrent connections
- Restart application
- Increase server RAM
- Fix memory leaks in code
- Set cache size limits
Email Issues
Emails not sending
Emails not sending
SendGrid:
- Verify API key is valid
- Check sender is verified
- Review SendGrid activity log
- Ensure out of sandbox mode
- Verify sender email
- Check AWS credentials
- Test SMTP credentials
- Check port (587 for TLS)
- Verify firewall allows outbound SMTP
Emails going to spam
Emails going to spam
Improve deliverability:
- Set up SPF record
- Configure DKIM
- Add DMARC policy
- Use business domain (not Gmail)
- Avoid spam trigger words
Authentication Issues
Can't log in
Can't log in
Reset password:Check:
- Email is verified
- Account is not deactivated
- 2FA codes are correct
- Browser cookies enabled
2FA not working
2FA not working
Solutions:
- Ensure time sync is correct on device
- Try backup codes
- Admin can disable 2FA:
Integration Issues
Salesforce sync failing
Salesforce sync failing
Check:
- OAuth token not expired
- Field mappings are correct
- API limits not exceeded
- Required permissions granted
Webhooks not being received
Webhooks not being received
Verify:
- Endpoint URL is accessible
- Returning 200 OK within 5 seconds
- Signature verification passing
- Events are subscribed
Data & Privacy
GDPR data export request
GDPR data export request
Process:
- Contact → Actions → Export Data
- Verify identity
- Generate export (JSON/CSV)
- Provide to customer within 30 days
- Profile information
- All conversation history
- Custom fields
- Notes (optional)
Delete customer data
Delete customer data
Right to be forgotten:
- Contact → Actions → Delete
- Choose: Delete or Anonymize
- Confirm action
- Data removed immediately