#Authprofiles errors
1 messages ยท Page 1 of 1 (latest)
Invalid config at C:\Users\archo.openclaw\openclaw.json:\n- auth.profiles.anthropic:default.mode: Invalid input
- auth.profiles.anthropic:default: Unrecognized key: "apiKey"
- auth.profiles.discord:bot.mode: Invalid input
- auth.profiles.discord:bot: Unrecognized key: "botToken"
- auth.profiles.brave:default.mode: Invalid input
- auth.profiles.brave:default: Unrecognized key: "apiKey"
- models.providers.anthropic.baseUrl: Invalid input: expected string, received undefined
- models.providers.anthropic.api: Invalid input
- models.providers.cloud.baseUrl: Invalid input: expected string, received undefined
- models.providers.brave.api: Invalid input
Opus seems to come in, messes everything up, runs out of tokens and then I trouble shoot for 4 hours until my tokens reset and then I start again. Endless cycle for 4 days now.
That โruns out of tokens โ ~4h later it works againโ pattern is almost always Anthropic rate/quota (HTTP 429) on the Claude subscription / setup-token window, not OpenClaw โbreakingโ.
A quick way to confirm:
- Look for the actual error
openclaw logs --tail 200(or--follow) and see if you get:HTTP 429: rate_limit_error(Anthropic).
Docs: https://docs.openclaw.ai/help/faq#why-am-i-seeing-http-429-ratelimiterror-from-anthropic
- Stop burning the window on Opus
- In chat: run
/model statusand/modelto switch away from Opus for routine work (and only switch back when you actually need it). - In CLI:
openclaw models statusthenopenclaw models set <model-or-alias>.
Docs: https://docs.openclaw.ai/help/faq#how-do-i-switch-models-on-the-fly-without-restarting
CLI ref: https://docs.openclaw.ai/cli/models
- Add a fallback so youโre not dead-in-the-water when Anthropic 429s
- Configure
agents.defaults.model.fallbacksso OpenClaw can keep replying when Anthropic is rate-limited.
Docs: https://docs.openclaw.ai/help/faq#model-failover-and-all-models-failed
If you paste (a) the exact error line from logs and (b) openclaw models status (redact keys), I can tell you whether youโre hitting 429 vs โcontext too largeโ vs an auth/profile rotation issue.
Yes, but I need to fix the above error as I cannot open a gateway to do that.
Invalid config at C:\Users\archo.openclaw\openclaw.json:\n- auth.profiles.anthropic:default.mode: Invalid input
auth.profiles.anthropic:default: Unrecognized key: "apiKey"
auth.profiles.discord:bot.mode: Invalid input
auth.profiles.discord:bot: Unrecognized key: "botToken"
auth.profiles.brave:default.mode: Invalid input
auth.profiles.brave:default: Unrecognized key: "apiKey"
models.providers.anthropic.baseUrl: Invalid input: expected string, received undefined
models.providers.anthropic.api: Invalid input
models.providers.cloud.baseUrl: Invalid input: expected string, received undefined
models.providers.brave.api: Invalid input
I need to fix this.
I have all the API keys.
You donโt need the dashboard/control UI to fix models/auth โ you can do everything from the terminal on the gateway host. But first we need to see why the Gateway wonโt come up (the โabove errorโ).
Please paste the output of these exact commands (run them on the machine that should be running the Gateway):
openclaw --version
openclaw gateway status --deep
openclaw logs --tail 200
openclaw doctor
If the Gateway is crash-looping, do this in one terminal:
openclaw logs --follow
โฆand in another:
openclaw gateway restart
That will capture the first real error (auth-profiles parse error, missing token, port conflict, โgateway.modeโ, etc.).
Also: if your issue is โI canโt open the gateway UIโ, grab the URL/token from:
openclaw gateway status
(or openclaw dashboard), and make sure youโre using the URL that includes the #token=... fragment.
Docs runbook: https://docs.openclaw.ai/gateway/troubleshooting
Having the API keys is good, but it doesnโt mean the Gateway service can actually see/use them.
Two super common gotchas:
- Keys only exist in your shell, but the Gateway runs as a service (systemd/launchd) and doesnโt inherit your terminal env.
Fix: put them in~/.openclaw/.env(on the gateway host) or enable shell import (env.shellEnv.enabled: true), then restart.
- Auth is per-agent, and the agent youโre actually running has an empty/invalid auth store. Auth profiles live in:
~/.openclaw/agents/<agentId>/agent/auth-profiles.json
But before guessing: I need the exact โabove errorโ text. Please paste (redact any secrets):
openclaw --version
openclaw gateway status --deep
openclaw logs --tail 200
openclaw doctor
Once we see the real error line (429, โNo credentials foundโฆโ, JSON parse error, token/unauthorized, etc.) we can give you the 2โ3 step fix.
PS C:\Users\archo> openclaw gateway restart
Invalid config at C:\Users\archo.openclaw\openclaw.json:\n- auth.profiles.discord:bot: Unrecognized key: "token"
- auth.profiles.brave:default.mode: Invalid input
- auth.profiles.brave:default: Unrecognized key: "token"
- models.providers.brave.baseUrl: Invalid input: expected string, received undefined
- models.providers.brave.api: Invalid input
- models.providers.brave.models: Invalid input: expected array, received undefined
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ Ship fast, log faster.
Invalid config at C:\Users\archo.openclaw\openclaw.json:\n- auth.profiles.discord:bot: Unrecognized key: "token"
- auth.profiles.brave:default.mode: Invalid input
- auth.profiles.brave:default: Unrecognized key: "token"
- models.providers.brave.baseUrl: Invalid input: expected string, received undefined
- models.providers.brave.api: Invalid input
- models.providers.brave.models: Invalid input: expected array, received undefined
โ
โ Config โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Config invalid; doctor will run with best-effort config. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Unknown config keys โโโโโโโโโโโโโโโโโโฎ
โ โ
โ - auth.profiles.discord:bot.token โ
โ - auth.profiles.brave:default.token โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Doctor โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Run "openclaw doctor --fix" to remove these keys. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Config invalid
File: ~.openclaw\openclaw.json
Problem:
- auth.profiles.discord:bot: Unrecognized key: "token"
- auth.profiles.brave:default.mode: Invalid input
- auth.profiles.brave:default: Unrecognized key: "token"
- models.providers.brave.baseUrl: Invalid input: expected string, received undefined
- models.providers.brave.api: Invalid input
- models.providers.brave.models: Invalid input: expected array, received undefined
Run: openclaw doctor --fix
Gateway service missing.
Start with: openclaw gateway install
Start with: openclaw gateway
Start with: schtasks /Run /TN "OpenClaw Gateway"
PS C:\Users\archo>
Thatโs the blocker: your config is invalid, so the Gateway wonโt start at all.
Those keys are simply in the wrong place:
auth.profiles.*is for model provider auth profiles (Anthropic/OpenAI/etc), not Discord.- Discord bot token belongs at
channels.discord.token(or envDISCORD_BOT_TOKEN). - Brave Search API key belongs at
tools.web.search.apiKey(or envBRAVE_API_KEY). - โBrave for browser controlโ is
browser.executablePath(notmodels.providers.brave).
Fix (fast + safe)
- Backup your config first (PowerShell):
Copy-Item $HOME\.openclaw\openclaw.json $HOME\.openclaw\openclaw.json.bak
- Let Doctor remove the unknown keys:
openclaw doctor --fix
- Put the keys back in the correct locations (pick one of these approaches):
Option A: env file (usually easiest on Windows services)
Create/edit:
C:\Users\archo\.openclaw\.env
and add:
DISCORD_BOT_TOKEN=...
BRAVE_API_KEY=...
Then:
openclaw gateway restart
Option B: put them in openclaw.json
{
channels: { discord: { enabled: true, token: "YOUR_BOT_TOKEN" } },
tools: { web: { search: { enabled: true, apiKey: "BRAVE_API_KEY_HERE" } } }
}
Docs:
- Discord token: https://docs.openclaw.ai/channels/discord
- Web search (Brave): https://docs.openclaw.ai/tools/web
If openclaw doctor --fix finishes, paste the new output of:
openclaw gateway restart
and weโll get you fully booting again.
Error: Config validation failed: auth.profiles.brave:default.mode: Invalid input
This is after running the doctor
Error: Config validation failed: auth.profiles.brave:default.mode: Invalid input
after doctor fix
I create the .env file with the keys
@frigid coral
Russell โ that ping makes sense: your Gateway canโt start until the config parses cleanly.
Do this on the gateway machine (Windows PowerShell), then paste the outputs:
- Backup + auto-fix the unknown keys:
Copy-Item $HOME\.openclaw\openclaw.json $HOME\.openclaw\openclaw.json.bak
openclaw doctor --fix
- Restart + show status:
openclaw gateway restart
openclaw gateway status --deep
If it still wonโt come up, also paste:
openclaw logs --tail 200
Once the Gateway is running again, weโll tackle the โOpus burns tokens / 429 loopโ by setting a cheaper default + adding fallbacks so youโre not stuck when Anthropic rate-limits.
Run: openclaw doctor --fix
โ
โ
Service: Scheduled Task (registered)
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Command: C:Program Filesnodejsnode.exe C:UsersarchoAppDataRoamingnpmnode_modulesopenclawdistindex.js gateway --port 18789
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~.openclaw\openclaw.json (invalid)
Config issue: auth.profiles.discord:bot: Unrecognized key: "token"
Config issue: auth.profiles.brave:default.mode: Invalid input
Config issue: auth.profiles.brave:default: Unrecognized key: "token"
Config issue: models.providers.brave.baseUrl: Invalid input: expected string, received undefined
Config issue: models.providers.brave.api: Invalid input
Config (service): ~.openclaw\openclaw.json (invalid)
Service config issue: auth.profiles.discord:bot: Unrecognized key: "token"
Service config issue: auth.profiles.brave:default.mode: Invalid input
Service config issue: auth.profiles.brave:default: Unrecognized key: "token"
Service config issue: models.providers.brave.baseUrl: Invalid input: expected string, received undefined
Service config issue: models.providers.brave.api: Invalid input
Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.
Runtime: stopped (state Ready, last run time 2026/02/13 00:30:18)
RPC probe: failed
RPC target: ws://127.0.0.1:18789
gateway closed (1006 abnormal closure (no close frame)): no close reason
Gateway target: ws://127.0.0.1:18789
Source: cli --url
Config: C:\Users\archo.openclaw\openclaw.json
Service is loaded but not running (likely exited immediately).
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Logs: schtasks /Query /TN "OpenClaw Gateway" /V /FO LIST
Other gateway-like services detected (best effort):
- \OpenClaw Gateway (system, task: \OpenClaw Gateway, run: C:\Users\archo.openclaw\gateway.cmd)
Cleanup hint: schtasks /Delete /TN "OpenClaw Gateway" /F
Recommendation: run a single gateway per machine for most setups. One gateway supports multiple agents (see docs: /gateway#multiple-gateways-same-host).
If you need multiple gateways (e.g., a rescue bot on the same host), isolate ports + config/state (see docs: /gateway#multiple-gateways-same-host).
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
PS C:\Users\archo> openclaw logs --tail 200
Invalid config at C:\Users\archo.openclaw\openclaw.json:\n- auth.profiles.discord:bot: Unrecognized key: "token"
- auth.profiles.brave:default.mode: Invalid input
- auth.profiles.brave:default: Unrecognized key: "token"
- models.providers.brave.baseUrl: Invalid input: expected string, received undefined
- models.providers.brave.api: Invalid input
- models.providers.brave.models: Invalid input: expected array, received undefined
error: unknown option '--tail'
PS C:\Users\archo>
Do we not need to fix the actual JSON file itself?
That output is basically: โTask Scheduler service exists, but the gateway process crashes on startup.โ The next step is the file log it pointed you to โ thatโll contain the real reason.
1) Open the startup log (PowerShell)
dir C:\tmp\openclaw
Get-Content C:\tmp\openclaw\openclaw-2026-02-13.log -Tail 200
Paste the last ~50โ200 lines (redact any secrets if you see them).
2) Also run the gateway in the foreground (prints the fatal error immediately)
openclaw gateway run --verbose
Paste what it prints.
3) Two very common โexits immediatelyโ causes (quick checks)
A) gateway.mode not set to local
openclaw config get gateway.mode
If itโs missing or says remote, fix:
openclaw config set gateway.mode local
B) Config still has invalid keys
openclaw doctor --fix
openclaw gateway restart
Once you paste either the log tail or the gateway run --verbose output, we can give the exact 1-step fix (itโll be something like config guardrail, port conflict, auth/bind mismatch, or the earlier invalid keys still lingering).
Yes โ the JSON file is the actual problem. The Gateway wonโt run until C:\Users\archo\.openclaw\openclaw.json validates.
The good news: you usually donโt have to hand-edit it. openclaw doctor --fix is specifically designed to rewrite the file (remove unknown keys / migrate old keys) so the Gateway can start again.
Do this (Windows PowerShell)
- Backup the config
Copy-Item $HOME\.openclaw\openclaw.json $HOME\.openclaw\openclaw.json.bak
- Auto-fix the config
openclaw doctor --fix
- Restart
openclaw gateway restart
What youโll be removing/moving (conceptually)
These must not be in auth.profiles.* or models.providers.brave.*:
auth.profiles.discord:bot.tokenโ wrong place (Discord is a channel, not a model provider)auth.profiles.brave:default.*andmodels.providers.brave.*โ wrong concept (Brave API key is for web search, not โmodelsโ)
Correct places:
- Discord bot token:
channels.discord.token(or envDISCORD_BOT_TOKEN) - Brave Search key:
tools.web.search.apiKey(or envBRAVE_API_KEY) - Brave browser (optional):
browser.executablePath(this is separate from Brave Search)
Docs:
- Discord: https://docs.openclaw.ai/channels/discord
- Web search (Brave): https://docs.openclaw.ai/tools/web
If doctor --fix runs but the service still exits immediately, paste the last ~100 lines of C:\tmp\openclaw\openclaw-2026-02-13.log โ that log will show the next blocker.
OPENCLAW ๐ฆ \n ","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:43.255Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:971:46","fileName":"entry.js","fileNameWithLine":"entry.js:971","fileColumn":"46","fileLine":"971","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:971","method":"console.log"}},"time":"2026-02-12T22:36:43.255Z"}
{"0":"Invalid config at C:\Users\archo\.openclaw\openclaw.json:\n- auth.profiles.discord:bot: Unrecognized key: "token"\n- auth.profiles.brave:default.mode: Invalid input\n- auth.profiles.brave:default: Unrecognized key: "token"\n- models.providers.brave.baseUrl: Invalid input: expected string, received undefined\n- models.providers.brave.api: Invalid input\n- models.providers.brave.models: Invalid input: expected array, received undefined","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:43.276Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973:68","fileName":"entry.js","fileNameWithLine":"entry.js:973","fileColumn":"68","fileLine":"973","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973","method":"console.error"}},"time":"2026-02-12T22:36:43.278Z"}
{"0":"Gateway service update failed: Error: schtasks create failed: ERROR: Access is denied.\r\r\n Run PowerShell as Administrator or rerun without installing the daemon.","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostn
ame":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:43.993Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973:68","fileName":"entry.js","fileNameWithLine":"entry.js:973","fileColumn":"68","fileLine":"973","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973","method":"console.error"}},"time":"2026-02-12T22:36:43.993Z"}
{"0":"Error: Config validation failed: auth.profiles.brave:default.mode: Invalid input","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:47.207Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973:68","fileName":"entry.js","fileNameWithLine":"entry.js:973","fileColumn":"68","fileLine":"973","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/entry.js:973","method":"console.error"}},"time":"2026-02-12T22:36:47.207Z"}
{"0":"Invalid config at C:\Users\archo\.openclaw\openclaw.json:\n- auth.profiles.discord:bot: Unrecognized key: "token"\n- auth.profiles.brave:default.mode: Invalid input\n- auth.profiles.brave:default: Unrecognized key: "token"\n- models.providers.brave.baseUrl: Invalid input: expected string, received undefined\n- models.providers.brave.api: Invalid input\n- models.providers.brave.models: Invalid input: expected array, received undefined","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:49.995Z","logLevelId":5,"logLevelName":"
ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.001Z"}
{"0":"(node:10568) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.\n(Use node --trace-deprecation ... to show where the warning was created)","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.055Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638"}},"time":"2026-02-12T22:36:50.055Z"}
{"0":"\u001b[1m\u001b[38;2;255;90;45mConfig invalid\u001b[39m\u001b[22m","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.076Z","logLevelId":5,"logLevelName":"
ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.077Z"}
{"0":"\u001b[38;2;139;127;119mFile:\u001b[39m \u001b[38;2;139;127;119m~\.openclaw\openclaw.json\u001b[39m","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.078Z","logLevelId":5,"logLevelName":"
ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.079Z"}
{"0":"\u001b[38;2;139;127;119mProblem:\u001b[39m","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.079Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.080Z"}
{"0":" \u001b[38;2;226;61;45m- auth.profiles.discord:bot: Unrecognized key: "token"\u001b[39m\n \u001b[38;2;226;61;45m- auth.profiles.brave:default.mode: Invalid input\u001b[39m\n \u001b[38;2;226;61;45m- auth.profiles.brave:default: Unrecognized key: "token"\u001b[39m\n \u001b[38;2;226;61;45m-
models.providers.brave.baseUrl: Invalid input: expected string, received undefined\u001b[39m\n \u001b[38;2;226;61;45m- models.providers.brave.api: Invalid input\u001b[39m\n \u001b[38;2;226;61;45m- models.providers.brave.models: Invalid input: expected array, received undefined\u001b[39m","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.081Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.081Z"}
{"0":"","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.082Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-
DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.082Z"}
{"0":"\u001b[38;2;139;127;119mRun:\u001b[39m \u001b[38;2;255;122;61mopenclaw doctor --fix\u001b[39m","_meta":{"runtime":"node","runtimeVersion":"24.13.1","hostname":"ARCHON","name":"openclaw","date":"2026-02-12T22:36:50.083Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638:68","fileName":"subsystem-DPnkvS73.js","fileNameWithLine":"subsystem-DPnkvS73.js:638","fileColumn":"68","fileLine":"638","filePath":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js","filePathWithLine":"/C:/Users/archo/AppData/Roaming/npm/node_modules/openclaw/dist/subsystem-DPnkvS73.js:638","method":"console.error"}},"time":"2026-02-12T22:36:50.083Z"}
There you go @frigid coral
Yes โ the JSON file itself must be fixed, because right now itโs failing schema validation and the Gateway refuses to start.
Your log snippet confirms youโre still starting with the old invalid keys:
auth.profiles.discord:bot.token(wrong place โ Discord token is a channel token)auth.profiles.brave.../models.providers.brave...(wrong concept โ Brave is web search, not a model provider)
The intended fix is: let Doctor rewrite the JSON
Run this in PowerShell on the gateway machine:
Copy-Item $HOME\.openclaw\openclaw.json $HOME\.openclaw\openclaw.json.bak
openclaw doctor --fix
That will remove the unknown keys and write a corrected config file.
Yep โ that log is exactly the config validator telling you: โI refuse to start until you run openclaw doctor --fix.โ
Run this on the gateway host (PowerShell):
openclaw doctor --fix
openclaw gateway restart
openclaw gateway status --deep
What doctor --fix does: it edits C:\Users\archo\.openclaw\openclaw.json and removes the invalid keys (like auth.profiles.discord:bot.token and the models.providers.brave.* stuff) so the Gateway can boot again.
After it starts, re-add your secrets in the right place (donโt paste tokens here):
- Discord bot token โ
channels.discord.token(or.envasDISCORD_BOT_TOKEN) - Brave Search key โ
tools.web.search.apiKey(or.envasBRAVE_API_KEY)
If it still says config invalid after doctor --fix, paste the output of openclaw doctor --fix and openclaw gateway status --deep โ that usually means the service is reading a different profile/state dir than the file youโre editing.
Then re-add your tokens in the correct locations (DONโT paste tokens in Discord)
Either put them in C:\Users\archo\.openclaw\.env:
DISCORD_BOT_TOKEN=...
BRAVE_API_KEY=...
or set them in config (again: donโt paste the secrets here):
- Discord bot token โ
channels.discord.token(docs: https://docs.openclaw.ai/channels/discord) - Brave Search key โ
tools.web.search.apiKey(docs: https://docs.openclaw.ai/tools/web)
If it still shows the same errors after doctor --fix
That usually means the service is using a different profile/state dir than the file you edited.
Please paste (safe to paste; no secrets) the output of:
openclaw gateway status --deep
dir $HOME\.openclaw*
and weโll line up โwhich config the service usesโ vs โwhich config youโre editingโ.
That snippet is still just the config validator error (itโs repeating โRun: openclaw doctor --fixโ). I need the output after you actually run the fix, so we can confirm the config got rewritten and the service is reading the same file.
On the gateway host, run:
openclaw doctor --fix
openclaw gateway restart
openclaw gateway status --deep
Then paste the output of those commands (and if it still exits immediately, paste the last ~100 lines of C:\tmp\openclaw\openclaw-2026-02-13.log).
Also: donโt paste any tokensโkeep them in C:\Users\archo\.openclaw\.env as:
DISCORD_BOT_TOKEN=...
BRAVE_API_KEY=...
Are we stuck in an endless loop here as the doctor isnt doing anything
Run: openclaw doctor --fix
โ
โ
Service: Scheduled Task (registered)
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Command: C:Program Filesnodejsnode.exe C:UsersarchoAppDataRoamingnpmnode_modulesopenclawdistindex.js gateway --port 18789
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~.openclaw\openclaw.json (invalid)
Config issue: auth.profiles.discord:bot: Unrecognized key: "token"
Config issue: auth.profiles.brave:default: Unrecognized key: "token"
Config issue: models.providers.brave.baseUrl: Invalid input: expected string, received undefined
Config issue: models.providers.brave.api: Invalid input
Config issue: models.providers.brave.models: Invalid input: expected array, received undefined
Config (service): ~.openclaw\openclaw.json (invalid)
Service config issue: auth.profiles.discord:bot: Unrecognized key: "token"
Service config issue: auth.profiles.brave:default: Unrecognized key: "token"
Service config issue: models.providers.brave.baseUrl: Invalid input: expected string, received undefined
Service config issue: models.providers.brave.api: Invalid input
Service config issue: models.providers.brave.models: Invalid input: expected array, received undefined
Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.
Runtime: stopped (state Ready, last run time 2026/02/13 00:52:59)
RPC probe: failed
RPC target: ws://127.0.0.1:18789
gateway closed (1006 abnormal closure (no close frame)): no close reason
Gateway target: ws://127.0.0.1:18789
Source: cli --url
Config: C:\Users\archo.openclaw\openclaw.json
Service is loaded but not running (likely exited immediately).
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Logs: schtasks /Query /TN "OpenClaw Gateway" /V /FO LIST
Other gateway-like services detected (best effort):
- \OpenClaw Gateway (system, task: \OpenClaw Gateway, run: C:\Users\archo.openclaw\gateway.cmd)
Cleanup hint: schtasks /Delete /TN "OpenClaw Gateway" /F
Recommendation: run a single gateway per machine for most setups. One gateway supports multiple agents (see docs: /gateway#multiple-gateways-same-host).
If you need multiple gateways (e.g., a rescue bot on the same host), isolate ports + config/state (see docs: /gateway#multiple-gateways-same-host).
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
Not endless loop โ whatโs happening is:
- Doctor can remove unknown keys (
auth.profiles.discord:bot.token, etc). - But your config is also failing because you have a broken
models.providers.braveblock (Brave isnโt a model provider in OpenClaw; itโs a web search key). Doctor generally wonโt โguessโ and rewrite that into something else โ you need to delete/fix that block.
Do this on the gateway host (PowerShell)
- Run doctor in โwrite changesโ mode and make sure it actually wrote a backup:
openclaw doctor --fix
dir $HOME\.openclaw\openclaw.json*
You should see openclaw.json.bak created/updated.
- Now edit the JSON file directly:
notepad $HOME\.openclaw\openclaw.json
Delete these parts (they are the ones causing the crash):
- the whole
auth: { profiles: { ... } }section (anything underauth.profiles.*) - the whole
models.providers.braveentry (and anyauth.profiles.brave:*stuff)
- Put secrets where they belong (recommended:
.env, so you donโt keep tokens in JSON):
Create/edit:
notepad $HOME\.openclaw\.env
Add:
DISCORD_BOT_TOKEN=...
BRAVE_API_KEY=...
- Restart:
openclaw gateway restart
openclaw gateway status --deep
Docs for the โcorrect placesโ:
- Discord token: https://docs.openclaw.ai/channels/discord
- Brave web search key: https://docs.openclaw.ai/tools/web
- Doctor behavior: https://docs.openclaw.ai/cli/doctor
If you paste the dir $HOME\.openclaw\openclaw.json* output and the (token-redacted) models.providers.brave part from openclaw.json, I can tell you exactly what to delete so it validates cleanly.
Not a loop yet โ that message is just saying โthe Windows Task Scheduler service tried to start the Gateway and it exited immediately.โ The next step is the file log it points to; that will say why it exited (still-invalid config vs port conflict vs gateway.mode, etc.).
1) Paste the actual crash reason from the file log
In PowerShell on the gateway machine:
Get-Content C:\tmp\openclaw\openclaw-2026-02-13.log -Tail 200
(If C:\tmp\... doesnโt exist, try Get-Content \tmp\openclaw\openclaw-2026-02-13.log -Tail 200 and also dir C:\tmp\openclaw.)
2) Based on what you already pasted: config is still invalid
Your log is still complaining about:
auth.profiles.discord:bot.tokenauth.profiles.brave:default.tokenmodels.providers.brave...
Those must be removed from C:\Users\archo\.openclaw\openclaw.json (Doctor may remove unknown keys, but it wonโt magically convert that whole Brave โmodels providerโ block into the right โweb searchโ config).
Open and delete the offending blocks:
notepad $HOME\.openclaw\openclaw.json
Then put secrets in:
notepad $HOME\.openclaw\.env
with:
DISCORD_BOT_TOKEN=...
BRAVE_API_KEY=...
3) Restart after the file is clean
openclaw gateway restart
openclaw gateway status --deep
Paste the tail of the log file first โ thatโll tell us if weโre still failing config validation or if weโve moved on to the next issue.
PS C:\Users\archo> openclaw gateway
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ Less middlemen, more messages.
23:05:41 Gateway start blocked: set gateway.mode=local (current: unset) or pass --allow-unconfigured.
PS C:\Users\archo>
Got the gateway to work.
Bot doesnt respond
@frigid coral
Nice โ if the Gateway is up but the Discord bot doesnโt respond, itโs almost always one of: Discord not connected, pairing/allowlist blocked, or mention rules.
Run these on the gateway host (PowerShell) and paste the output:
openclaw status
openclaw channels status --probe
openclaw pairing list discord
openclaw logs --tail 200
Then do this quick test while watching logs:
openclaw logs --follow
Send a message in Discord that should trigger it (DM it, or mention it in a guild channel). The logs will usually say explicitly what happened (e.g. โpairing requiredโ, โmention requiredโ, โblocked by allowlistโ, โnot_in_channelโ, etc.).
Common fixes depending on what youโre trying:
- DMs: default is
pairing. You must approve the pairing code:openclaw pairing approve discord <code> - Guild channel: it often requires a mention and/or the guild/channel must be allowlisted in
channels.discord.guilds. So try an explicit mention first. - Group DMs: ignored by default unless you enabled
channels.discord.dm.groupEnabled.
Discord setup doc (intents + token + rules): https://docs.openclaw.ai/channels/discord
PS C:\Users\archo> openclaw gateway status --deep
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ Works on Android. Crazy concept, we know.
โ
โ
Service: Scheduled Task (registered)
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Command: C:Program Filesnodejsnode.exe C:UsersarchoAppDataRoamingnpmnode_modulesopenclawdistindex.js gateway --port 18789
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~.openclaw\openclaw.json
Config (service): ~.openclaw\openclaw.json
Gateway: bind=auto (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Runtime: stopped (state Ready, last run time 2026/02/13 01:05:08)
RPC probe: ok
Service is loaded but not running (likely exited immediately).
File logs: \tmp\openclaw\openclaw-2026-02-13.log
Logs: schtasks /Query /TN "OpenClaw Gateway" /V /FO LIST
Listening: 127.0.0.1:18789
Other gateway-like services detected (best effort):
- \OpenClaw Gateway (system, task: \OpenClaw Gateway, run: C:\Users\archo.openclaw\gateway.cmd)
Cleanup hint: schtasks /Delete /TN "OpenClaw Gateway" /F
Recommendation: run a single gateway per machine for most setups. One gateway supports multiple agents (see docs: /gateway#multiple-gateways-same-host).
If you need multiple gateways (e.g., a rescue bot on the same host), isolate ports + config/state (see docs: /gateway#multiple-gateways-same-host).
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
PS C:\Users\archo> openclaw logs --tail 200
error: unknown option '--tail'
PS C:\Users\archo> openclaw doctor
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ I read logs so you can keep pretending you don't have to.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ OPENCLAW ๐ฆ
โ OpenClaw doctor
โ
โ Update โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ This install is not a git checkout. โ
โ Run openclaw update to update via your package manager (npm/pnpm), then rerun doctor. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Gateway service config โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - Gateway service entrypoint does not match the current install. โ
โ (C:UsersarchoAppDataRoamingnpmnode_modulesopenclawdistindex.js -> โ
โ C:\Users\archo\AppData\Roaming\npm\node_modules\openclaw\dist\index.js) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Update gateway service config to the recommended defaults now?
โ Yes
Gateway service update failed: Error: schtasks create failed: ERROR: Access is denied.
Run PowerShell as Administrator or rerun without installing the daemon.
โ
โ Security โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - No channel security warnings detected. โ
โ - Run: openclaw security audit --deep โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Skills status โโโโโโโโโโโโโฎ
โ โ
โ Eligible: 2 โ
โ Missing requirements: 47 โ
โ Blocked by allowlist: 0 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Plugins โโโโโโโฎ
โ โ
โ Loaded: 4 โ
โ Disabled: 30 โ
โ Errors: 0 โ
โ โ
โโโโโโโโโโโโโโโโโโฏ
โ
โ
Agents: main (default)
Heartbeat interval: 1h (main)
Session store (main): C:\Users\archo.openclaw\agents\main\sessions\sessions.json (1 entries)
- agent:main:main (2m ago)
Run "openclaw doctor --fix" to apply changes.
โ
โ Doctor complete.
Your Gateway is reachable (RPC probe: ok), so now itโs a Discord channel/routing issue.
First: are you trying to talk to it via DM or in a server channel?
1) Check if Discord is actually connected
Run on the gateway host:
openclaw channels status --probe
openclaw logs --tail 200
In channels status --probe you should see Discord as connected/ready. If itโs failing, the tail logs will usually say why (bad token, missing intents, missing permissions, etc.).
2) If itโs a DM: pairing is the #1 reason
Default DM policy is pairing. DM the bot once, then:
openclaw pairing list discord
If you see a pending code, approve it:
openclaw pairing approve discord <code>
3) If itโs a server channel: mention rules / allowlist
In guild channels, mention is commonly required. Try an explicit mention of the bot in the channel. If logs say โmention requiredโ or โblocked by group policyโ, weโll adjust channels.discord.guilds / channel rules.
Docs: https://docs.openclaw.ai/channels/discord
4) One odd thing in your gateway status --deep
It says service runtime stopped but RPC probe ok + port listening. That usually means the Gateway is running outside the scheduled task (foreground/manual). Not fatal for Discord, but it can confuse debugging.
If you paste the output of openclaw channels status --probe (and the relevant log lines right after you send a DM/mention), we can pinpoint the exact block in one step.
its in the web chat. No response.
Will use discord when it works one fine day but until then... Im here and there
If itโs WebChat / Control UI chat and you send a message but get no assistant reply, 99% of the time the agent run is failing (models/auth) and the reason is sitting in logs.
On the gateway host, run these and paste output:
openclaw status
openclaw models status
openclaw logs --tail 200
Then do a live capture while you send a message in the web chat:
openclaw logs --follow
Send โhiโ in the Control UI, wait ~10 seconds, then paste the new log lines.
What weโre looking for is one of these signatures:
No API key found for provider .../No credentials found for profile ...โ model auth isnโt loaded (common on Windows service; fix via~\.openclaw\.envoropenclaw models auth ...)HTTP 429: rate_limit_errorโ youโre rate-limited (need fallbacks or wait)Model "... is not allowed"โ allowlist issue (agents.defaults.models)All models failedโ misconfigured fallback chain
Once you paste openclaw models status + the log tail around a failed chat, I can tell you the exact fix.
PS C:\Users\archo> openclaw status
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ Shell yeahโI'm here to pinch the toil and leave you the glory.
โ
โ
โ
โ
OpenClaw status
Overview
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Item โ Value โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Dashboard โ http://127.0.0.1:18789/ โ
โ OS โ windows 10.0.26200 (x64) ยท node 24.13.1 โ
โ Tailscale โ off โ
โ Channel โ stable (default) โ
โ Update โ pnpm ยท npm latest 2026.2.9 โ
โ Gateway โ local ยท ws://127.0.0.1:18789 (local loopback) ยท unreachable (connect failed: connect ECONNREFUSED 127.0.0. โ
โ โ 1:18789) โ
โ Gateway service โ Scheduled Task installed ยท registered ยท stopped (state Ready) โ
โ Node service โ Scheduled Task not installed โ
โ Agents โ 1 ยท 1 bootstrapping ยท sessions 1 ยท default main active 3m ago โ
โ Memory โ enabled (plugin memory-core) ยท unavailable โ
โ Probes โ skipped (use --deep) โ
โ Events โ none โ
โ Heartbeat โ 1h (main) โ
โ Sessions โ 1 active ยท default minimax-m2.5:cloud (200k ctx) ยท ~.openclaw\agents\main\sessions\sessions.json โ
โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Security audit
Summary: 0 critical ยท 0 warn ยท 1 info
No critical or warn findings detected.
Full report: openclaw security audit
Deep probe: openclaw security audit --deep
Channels
โโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Channel โ Enabled โ State โ Detail โ
โโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Sessions
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโ
โ Key โ Kind โ Age โ Model โ Tokens โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโค
โ agent:main:main โ direct โ 3m ago โ claude-opus-4-6 โ 131k/200k (66%) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโ
FAQ: https://docs.openclaw.ai/faq
Troubleshooting: https://docs.openclaw.ai/troubleshooting
Next steps:
Need to share? openclaw status --all
Need to debug live? openclaw logs --follow
Fix reachability first: openclaw gateway probe
PS C:\Users\archo> openclaw models status
๐ฆ OpenClaw 2026.2.9 (33c75cb) โ No $999 stand required.
Config : ~.openclaw\openclaw.json
Agent dir : ~.openclaw\agents\main\agent
Default : ollama/minimax-m2.5:cloud
Fallbacks (1) : anthropic/claude-opus-4-6
Image model : -
Image fallbacks (0): -
Aliases (0) : -
Configured models (0): all
Auth overview
Auth store : ~.openclaw\agents\main\agent\auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (1): anthropic (1)
- anthropic effective=profiles:~.openclaw\agents\main\agent\auth-profiles.json | profiles=1 (oauth=0, token=1, api_key=0) | anthropic:default=token:sk-ant-o...ros2NwAA
- ollama effective=models.json:ollama-local | models.json=ollama-local | source=models.json: ~.openclaw\agents\main\agent\models.json
OAuth/token status
- anthropic
- anthropic:default static
PS C:\Users\archo> openclaw logs --tail 200
error: unknown option '--tail'
- anthropic:default static
Also, there are 3 local models that are loaded to a local lan computer which it should be running off as a back up.
So technically there should always be someone replying.
WebChat not replying, but your openclaw status snippet actually gives a big clue:
- Channels table is empty โ fine (WebChat doesnโt need channels), but it also explains why โDiscord bot doesnโt respondโ earlier: Discord isnโt enabled/connected.
- Your main session is 131k / 200k tokens (66%) on Opus โ thatโs massive. Even a โhiโ now is expensive and can easily hit 429 rate limits / timeouts / โall models failedโ and look like โno responseโ.
Step 1: Start a fresh session in WebChat
In the web chat, send:
/new(recommended)
or/compact(if you want to keep the gist but shrink context)
Then try sending โhiโ again.
Step 2: Capture the actual error (this is the real fix)
On the gateway host, run:
openclaw models status
openclaw logs --follow
While logs --follow is running, send one message in WebChat and paste the new log lines that appear (that will say whether itโs 429, missing credentials, model not allowed, etc.).
If the UI shows โpairing requiredโ / disconnect 1008
Approve the device:
openclaw devices list
openclaw devices approve <requestId>
Once you paste the log lines from a failed WebChat send, we can fix it in one shot.
openclaw logs doesnโt have --tail. Use --limit or --follow:
openclaw logs --limit 200
# or
openclaw logs --follow
Now the important part: your models status shows:
- Default:
ollama/minimax-m2.5:cloud - Fallback:
anthropic/claude-opus-4-6 - Auth is only clearly set up for Anthropic.
If you donโt have Ollama running / that model available, WebChat will often look like โno responseโ because itโs trying the Ollama model first (and may hang/timeout before falling back).
Quick fix to confirm everything works
Switch the default model to Anthropic:
openclaw models set opus
# (or cheaper)
openclaw models set anthropic/claude-sonnet-4-5
Then in WebChat, start clean (your session was already huge earlier):
- send
/new - then send โhiโ
If it still doesnโt reply: capture the exact error
Run this, then send one message in WebChat and paste the new log lines:
openclaw logs --follow
Also, if the browser UI is remote (not on the gateway machine), device pairing can block it. Check:
openclaw devices list
If thereโs a pending request:
openclaw devices approve <requestId>
Not guaranteed.
OpenClaw will try to reply by running the agent on your primary model, and if that fails fast it can fall back to the next model โ but there are a few ways you still end up with โno replyโ:
- Primary model hangs / is unreachable, but doesnโt error quickly
- In your
models statusthe default isollama/minimax-m2.5:cloud.
If Ollama isnโt actually running (or that model name is wrong), the request can stall/timeout and you wonโt see a clean fallback immediately.
- All models fail
- Rate limits (429), bad auth, model not allowed, etc. can take out both primary + fallback.
- The UI is blocked (device pairing / auth)
- Then WebChat can become effectively read-only or โsends but nothing happensโ.
What Iโd do to make it โalways repliesโ in practice
- Set a known-good cloud model as primary, and keep a second cloud model as fallback (donโt use Ollama as primary unless youโre sure itโs up 24/7):
openclaw models set anthropic/claude-sonnet-4-5
# or
openclaw models set opus
- Then watch what happens on send:
openclaw logs --follow
If you paste the first error that appears in logs --follow right after you send a message in WebChat, we can make it reliably respond (either by fixing Ollama reachability or removing it from primary).