Step 1) Verify gateway reachability first
openclaw gateway status openclaw status
If the gateway is down or unreachable, pairing commands won’t fix anything. Bring gateway health to normal first.
OpenClaw Troubleshooting
Seeing pairing required, gateway connect failed, or WebSocket code 1008? This guide gives you a quick 2-minute fix, then a full recovery flow for stubborn pairing/auth issues.
In OpenClaw, pairing is an explicit owner-approval step. The error usually means the connecting device is not approved yet, or device/auth state drifted after an update. Most cases are recoverable in minutes.
openclaw gateway status openclaw devices list openclaw devices approve --latest openclaw status
openclaw gateway status openclaw status
If the gateway is down or unreachable, pairing commands won’t fix anything. Bring gateway health to normal first.
openclaw devices list openclaw devices approve <requestId>
Approve the most recent request. If a device retried with changed details, old request IDs may be superseded.
openclaw config get gateway.auth.token openclaw logs --follow
If you see unauthorized or token mismatch signatures, ensure the client and gateway use the same active token/password source.
openclaw gateway restart openclaw devices list openclaw devices approve --latest openclaw status
Update-related state drift can happen. A clean restart + fresh approval usually restores normal handshake behavior.
Is “pairing required” always a bug? Usually no. It is a security gate that requires explicit approval.
Why does this happen even with correct token? Token auth and device pairing are separate checks. Passing token auth does not auto-approve a device.
Do I need to approve every restart? Not normally. Re-approval is usually needed when device identity or auth state changed.
If your setup still fails after this flow, collect logs and error signatures, then reach out.
Contact us