Skip to Content
GuidesTroubleshooting

Troubleshooting

ProblemFix
UI not on :3001npm run dev:ui (or npm run docker:full)
Docs not on :3003npm run dev:docs (or full Docker profile)
AuthenticationError / AUTH_FAILED on sendInvalid platform bot_token / credentials
Bot not responding in TelegramAdd bot to group; confirm target_chat_id
Can’t log into Admin UIComplete /setup or reset admin_users
/setup redirects to /loginAdmin already exists — log in or delete admin_users row
API returns 401Set X-API-Key with a valid scoped key; ensure USE_AUTH=true if expected
API returns 403Key lacks required scope — use admin key or grant the scope via Settings
Prompt not deliveredCheck channel type is PROMPT; inspect core logs
Callbacks never arrivePublic callback_url; verify signing; check retry / offline notification
WhatsApp / Messenger options rejectedMax 3 button options on those platforms
Cannot find module './vendor-chunks/…' in docsrm -rf docs-site/.next and restart
Docker not runningStart Docker Desktop, then npm run infra:up
Port 5432 in useSet POSTGRES_PORT and match DATABASE_URL
UI container unhealthy / Traefik cannot reach UISet HOSTNAME=0.0.0.0; map Dokploy domain to port 3000; verify curl http://127.0.0.1:3000/api/health returns 200 inside container

Logs

# Hybrid — app logs are in the terminal running npm run dev docker compose logs -f postgres # Full Docker npm run docker:logs

Health

curl http://localhost:8100/healthz curl http://localhost:3001/api/health # Admin UI (hybrid dev port) curl -H "X-API-Key: $GREENLIGHT_API_KEY" \ http://localhost:8100/v1/status

Self-host containers probe http://127.0.0.1:3000/api/health (UI) and http://127.0.0.1:8100/healthz (API) internally. Do not use /wh/healthz when API is routed under /wh.