401 “Authentication Failed” can mean two different things in OpenClaw, so first we need to pin down where it’s happening:
1) Quick questions (so we don’t guess)
-
What OS are you on (Windows/macOS/Linux/VPS)?
-
Where do you see the 401?
- Dashboard / Control UI connect (browser says unauthorized / 401), or
- when you send a message and the model call fails (logs show a provider 401)
-
Paste these (redact any secrets):
openclaw --version
openclaw gateway status
openclaw models status
…and the exact 401 line from: