Bug Description
Cron jobs that fall back to openai-codex/gpt-5.3-codex (when the primary Anthropic provider is rate-limited or in cooldown) fail with:
Failed to extract accountId from token
The error occurs before the LLM runs — the job summary is just the error message itself, meaning no actual work gets done.
Steps to Reproduce
- Configure model fallback chain:
anthropic/claude-sonnet-4-6 → openai-codex/gpt-5.3-codex
- Trigger enough requests to put Anthropic in cooldown
- Cron job fires, gateway selects Codex as fallback
- Job fails with
Failed to extract accountId from token
Evidence
- 11 total occurrences across multiple cron jobs over ~1 week
- 100% correlated with
gpt-5.3-codex model selection — zero failures on Anthropic models
- Affected jobs: chess-daily, violeta-0915-smart, lili-free-time, violeta-dm-open-targets, and others
deliveryStatus shows delivered in some cases (delivery works), but the job itself produces no output
Expected Behavior
The Codex provider should extract accountId from the gateway token the same way other providers do, or handle it gracefully.
Workaround
Pin critical cron jobs to anthropic/claude-sonnet-4-6 with --model override to avoid Codex fallback.
Environment
- OpenClaw: 2026.2.26 (config written by 2026.3.2)
- Node.js: v25.6.1
- OS: Ubuntu 24.04 LTS
- Gateway: running on Hetzner dedicated server via Tailscale
Bug Description
Cron jobs that fall back to
openai-codex/gpt-5.3-codex(when the primary Anthropic provider is rate-limited or in cooldown) fail with:The error occurs before the LLM runs — the job summary is just the error message itself, meaning no actual work gets done.
Steps to Reproduce
anthropic/claude-sonnet-4-6→openai-codex/gpt-5.3-codexFailed to extract accountId from tokenEvidence
gpt-5.3-codexmodel selection — zero failures on Anthropic modelsdeliveryStatusshowsdeliveredin some cases (delivery works), but the job itself produces no outputExpected Behavior
The Codex provider should extract
accountIdfrom the gateway token the same way other providers do, or handle it gracefully.Workaround
Pin critical cron jobs to
anthropic/claude-sonnet-4-6with--modeloverride to avoid Codex fallback.Environment