Troubleshoot โ OpenClaw Error Index
Search for your exact error message. Each page shows the error text, what causes it, and the copy-paste fix.
OpenClaw guide ยท Updated 2026 ยท 20 common errors
Quick Fix
Before diving into specific errors, run the universal diagnostic:
openclaw doctor --deep --yes
This auto-fixes 80% of issues. If it doesn't solve your problem, find your error below.
All Errors
Gateway & Startup
- Error: listen EADDRINUSE :::18789 โ Port 18789 Already in Use
- Error: connect ECONNREFUSED 127.0.0.1:18789 โ Gateway Not Running
- Gateway crashed / restart loop โ Gateway Keeps Crashing
- openclaw: command not found โ Binary Not in PATH
- Node.js 22+ required โ Node.js Version Too Old
- Config validation failed โ Invalid Config / Unrecognized Key
- ENOSPC: no space left on device โ Disk Space Full
Authentication & API
- 401 Unauthorized / Invalid API key โ API Key Issues
- 429 Too Many Requests โ Rate Limit Exceeded
- Pairing required / disconnected 1008 โ Pairing Not Completed
Channels
- WhatsApp QR expired / Connection dropped โ WhatsApp QR Issues
- WhatsApp connected but not responding โ WhatsApp Silent
- Telegram 401 / Invalid bot token โ Telegram Token Invalid
Tools & Sandbox
- EACCES / sandbox: command blocked โ Sandbox Permission Denied
- Agent replies but never runs tools โ Tools Disabled
- Docker socket permission denied โ Docker Access Denied
Memory & Context
- Context length exceeded โ Token Limit Hit
- Agent forgets everything โ Memory Not Persisting
Scheduled Tasks
- Cron job didn't run / heartbeat skipped โ Cron/Heartbeat Issues
Network & SSL
- WebSocket connection failed / HTTPS required โ SSL/TLS Error
Still Stuck?
# Full diagnostic
openclaw doctor --deep --yes
# Live logs while reproducing the issue
openclaw logs --follow
# Deep status check
openclaw status --all --deep
If your error isn't listed here, check the full cheatsheet troubleshooting section or ask in the OpenClaw Discord.