#getting this error
1 messages · Page 1 of 1 (latest)
That JSON is basically an HTTP 5xx from OpenAI’s side (code":"server_error"). Most of the time it’s transient (backend hiccup) and a retry a minute later works.
To figure out if it’s “just OpenAI” vs something in your OpenClaw/Codex setup, can you paste 2 things?
- Where are you seeing this?
- Codex CLI directly (running
codex ...)
or - inside OpenClaw (an agent run / ACP coding session)
- The full error blob (not truncated) + the command you ran.
If this is happening inside OpenClaw, also run these and paste output (they’re the standard triage ladder from the troubleshooting runbook):
openclaw --version
openclaw status
openclaw gateway status
openclaw logs --follow
Then reproduce the error once while openclaw logs --follow is running, and paste the log lines around the failure (scrub API keys).
Also worth a quick check: https://status.openai.com (if there’s an incident, it’s not you).
@pulsar aspen inside openclaw web UI while chatting. Codex OAuth is connected with gpt 5.4
If it’s happening inside the OpenClaw web UI and you’re on Codex OAuth (openai-codex/gpt-5.4), that error is almost always upstream (OpenAI returns a 5xx “server_error”), not a local OpenClaw config problem.
Two practical things to try:
- Confirm it’s really a 5xx from the provider in logs
openclaw --version
openclaw logs --follow
Reproduce once, then paste the ~30 lines around the failure (scrub tokens). That’ll tell us if it’s OpenAI 500 vs something else.
- Force SSE transport (often fixes flaky WebSocket paths / proxies)
By defaultopenai-codexisauto(WebSocket-first, SSE fallback). You can force SSE per the docs:
{
agents: {
defaults: {
models: {
"openai-codex/gpt-5.4": {
params: { transport: "sse" }
}
}
}
}
}
Then restart:
openclaw gateway restart