#Gateway connect failed
1 messages · Page 1 of 1 (latest)
Nevermind. I confirmed the gateway is actually good. It’s an invalid bearer token error.
Yep — “invalid bearer token” almost always just means the Control UI/CLI is sending a stale/wrong Gateway token (the Gateway is up, auth is failing).
Things to check / quickest fixes:
- Confirm what auth mode the Gateway expects
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.token
- Make the Control UI use the same token
- In the dashboard, go to Control → Overview → Gateway Access
- Paste the value of
gateway.auth.tokeninto the Gateway Token field (not the Password field), then Connect.
- Clear the UI’s cached token
The dashboard stores the token in browser localStorage, so if you rotated it you’ll keep getting “invalid bearer token” until you clear it.
- Easiest: open the dashboard in an incognito/private window, paste token again.