- Verify
TELEGRAM_BOT_TOKENis correct and active - Check bot permissions in group chat (send messages, read messages)
- Ensure bot is not blocked or removed from the chat
- Check
POSTGRES_URLformat and credentials - For local development, set
DATABASE_SSL_VALIDATE=false - Verify PostgreSQL service is running
- Verify
WEBHOOK_REDIS_URLis accessible (critical for agent responses) - Check
UNTHREAD_WEBHOOK_SECRETmatches Unthread dashboard - Ensure webhook server is running and accessible
- Verify both
PLATFORM_REDIS_URLandWEBHOOK_REDIS_URLare correct - Check Redis services are running (both required)
- For Docker: ensure Redis containers are started
Enable detailed logging for troubleshooting:
LOG_LEVEL=debug
VERBOSE_LOGGING=true- Verify your Telegram user ID is in
ADMIN_USERSenvironment variable - Get your user ID from @userinfobot
- Use
/activatecommand in private chat to enable admin features