OpenClaw 2026.4.26 on Ubuntu 22.04 VPS.
Telegram bot connects, but EVERY agent run fails with
"HTTP 401: Invalid API Key" on Groq.
But same key works directly:
curl https://api.groq.com/openai/v1/models -H "Authorization: Bearer $KEY"
Returns 200 OK with models list.
Config has correct key (length 56, no whitespace).
Tried (no fix):
- openclaw config set models.providers.groq (multiple times)
- systemctl restart openclaw
- rm -rf sessions, cache, /tmp/openclaw, auth-profiles
- npm install -g openclaw@latest --force
- openclaw doctor
- Generated fresh keys multiple times
Also seeing in logs:
- amazon-bedrock-mantle plugin: Cannot find module './user-profiles.js'
- google plugin: Cannot find module './auth/googleauth'
- Gateway warning: missing scope: operator.read
Same 401 error happens with Groq, Mistral, Google -
all configured with valid keys verified by curl.
Help appreciated! 🙏