openclaw - 💡(How to fix) Fix [Bug]: Codex OAuth usage quota missing from status; status --usage reports unsupported provider [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78002Fetched 2026-05-06 06:18:00
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Timeline (top)
closed ×1commented ×1

On OpenClaw 2026.5.3, a session using openai-codex/gpt-5.5 with active openai-codex OAuth no longer shows Codex 5h/weekly usage in /status / session_status, and openclaw status --usage reports Codex: Unsupported provider.

Root Cause

On OpenClaw 2026.5.3, a session using openai-codex/gpt-5.5 with active openai-codex OAuth no longer shows Codex 5h/weekly usage in /status / session_status, and openclaw status --usage reports Codex: Unsupported provider.

Code Example

🦞 OpenClaw 2026.5.3 (002b360)
🧠 Model: openai-codex/gpt-5.5 · 🔑 oauth (openai-codex:<redacted-email>)
🧮 Tokens: 18k in / 69 out
🗄️ Cache: 17% hit · 3.6k cached, 0 new
📚 Context: 21k/200k (11%)
...

---

Usage
Usage:
  Claude: HTTP 403: OAuth token does not meet scope requirement user:profile
  Codex: Unsupported provider

---

/usr/lib
└── openclaw@2026.5.3

---

$ openclaw --version
OpenClaw 2026.5.3 (002b360)

$ command -v openclaw
/usr/bin/openclaw

$ node --version
v22.22.0

$ uname -a
Linux polymarket-mc 6.17.0-1011-oracle #11~24.04.1-Ubuntu SMP Fri Apr 10 02:09:09 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux

$ npm list -g openclaw --depth=0
/usr/lib
└── openclaw@2026.5.3

$ openclaw models
Default       : openai-codex/gpt-5.5
Fallbacks (1) : google/gemini-2.5-flash
Aliases (2)   : codex -> openai-codex/gpt-5.5, codex54 -> openai-codex/gpt-5.4
Configured models (2): openai-codex/gpt-5.5, openai-codex/gpt-5.4

OAuth/token status
- openai-codex
  - openai-codex:default (<redacted-email>) ok expires in 7d
  - openai-codex:<redacted-email> (<redacted-email>) ok expires in 43h

$ openclaw status --usage
Usage
Usage:
  Claude: HTTP 403: OAuth token does not meet scope requirement user:profile
  Codex: Unsupported provider

---

openclaw status --usage
--usage prints normalized provider usage windows as X% left.
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

On OpenClaw 2026.5.3, a session using openai-codex/gpt-5.5 with active openai-codex OAuth no longer shows Codex 5h/weekly usage in /status / session_status, and openclaw status --usage reports Codex: Unsupported provider.

Steps to reproduce

  1. Run OpenClaw 2026.5.3 with an openai-codex OAuth profile configured.
  2. Use a session whose active model is openai-codex/gpt-5.5.
  3. Run /status or inspect session_status.
  4. Run openclaw status --usage.
  5. Observe that the status card shows model/auth but no Codex usage windows, while CLI usage reports Codex: Unsupported provider.

Expected behavior

For an active openai-codex OAuth session, /status / session_status should show Codex quota windows such as 5h and Week/weekly usage, or at minimum openclaw status --usage should return Codex usage/quota data instead of Unsupported provider.

This is also consistent with the documented openclaw status --usage behaviour: provider usage windows should be printed as normalized % left values.

Actual behavior

session_status shows the active Codex model and OAuth profile, but no usage/quota line:

🦞 OpenClaw 2026.5.3 (002b360)
🧠 Model: openai-codex/gpt-5.5 · 🔑 oauth (openai-codex:<redacted-email>)
🧮 Tokens: 18k in / 69 out
🗄️ Cache: 17% hit · 3.6k cached, 0 new
📚 Context: 21k/200k (11%)
...

Running openclaw status --usage reports:

Usage
Usage:
  Claude: HTTP 403: OAuth token does not meet scope requirement user:profile
  Codex: Unsupported provider

The Codex usage line is therefore absent from /status / session_status.

OpenClaw version

OpenClaw 2026.5.3 (002b360)

Operating system

Ubuntu 24.04 arm64 / Linux 6.17.0-1011-oracle

Install method

npm global

/usr/lib
└── [email protected]

Model

openai-codex/gpt-5.5

Provider / routing chain

OpenClaw -> openai-codex OAuth / ChatGPT Codex quota endpoint

Additional provider/model setup details

  • Default model: openai-codex/gpt-5.5
  • Configured aliases:
    • codex -> openai-codex/gpt-5.5
    • codex54 -> openai-codex/gpt-5.4
  • Auth overview shows openai-codex OAuth profiles available and valid.
  • The active session status shows 🔑 oauth (openai-codex:<redacted-email>).
  • This does not appear to be an alias-resolution issue: the selected provider/model and auth profile are correctly displayed as openai-codex.

Logs, screenshots, and evidence

$ openclaw --version
OpenClaw 2026.5.3 (002b360)

$ command -v openclaw
/usr/bin/openclaw

$ node --version
v22.22.0

$ uname -a
Linux polymarket-mc 6.17.0-1011-oracle #11~24.04.1-Ubuntu SMP Fri Apr 10 02:09:09 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux

$ npm list -g openclaw --depth=0
/usr/lib
└── [email protected]

$ openclaw models
Default       : openai-codex/gpt-5.5
Fallbacks (1) : google/gemini-2.5-flash
Aliases (2)   : codex -> openai-codex/gpt-5.5, codex54 -> openai-codex/gpt-5.4
Configured models (2): openai-codex/gpt-5.5, openai-codex/gpt-5.4

OAuth/token status
- openai-codex
  - openai-codex:default (<redacted-email>) ok expires in 7d
  - openai-codex:<redacted-email> (<redacted-email>) ok expires in 43h

$ openclaw status --usage
Usage
Usage:
  Claude: HTTP 403: OAuth token does not meet scope requirement user:profile
  Codex: Unsupported provider

Relevant local docs state:

openclaw status --usage
--usage prints normalized provider usage windows as X% left.

Related existing GitHub items found during triage:

  • #39400 — session_status usage data is unstable / usage fields intermittently missing
  • #58498 — status card shows active OAuth profile but weekly usage appears to reflect a different credential
  • #59208 — PR: fix(status): honor selected usage auth profile
  • #77815 — PR: fix(codex): format status rate limits like usage
  • #74085 / #74185 — status --usage --json hanging/failing path

Impact and severity

Affected: Users relying on OpenClaw /status, session_status, or openclaw status --usage to monitor ChatGPT/Codex OAuth usage windows.

Severity: Medium. Core model execution still works, but quota visibility is missing, making it harder to manage Codex usage and avoid unexpected quota exhaustion.

Frequency: Reproduced on the current 2026.5.3 install when running openclaw status --usage.

Consequence: Operators lose the 5h/weekly Codex usage gauge previously visible in status output and must manually infer remaining quota elsewhere.

Additional information

The active model/auth display appears correct, so this does not look like a simple alias issue. The failure appears specifically in the Codex provider usage/quota path: status resolves openai-codex auth successfully, but the usage report falls through to Codex: Unsupported provider.

extent analysis

TL;DR

The issue can be resolved by checking the OAuth token scope and ensuring it meets the requirements for the openai-codex provider.

Guidance

  • Verify the OAuth token scope for openai-codex to ensure it includes the necessary permissions for quota usage.
  • Check the openclaw configuration to ensure the openai-codex provider is correctly set up and the OAuth profile is valid.
  • Review the related GitHub issues (#39400, #58498, #59208, #77815, #74085, #74185) to see if any of the fixes or workarounds apply to this specific issue.
  • Consider updating the openclaw version to the latest release, as some of the related issues may have been resolved in newer versions.

Example

No code snippet is provided as the issue appears to be related to configuration and OAuth token scope rather than code.

Notes

The issue seems to be specific to the openai-codex provider and OAuth token scope, so the solution may not apply to other providers or configurations. Additionally, the issue is reported on OpenClaw version 2026.5.3, so updating to a newer version may resolve the issue.

Recommendation

Apply a workaround by checking and updating the OAuth token scope for openai-codex to ensure it meets the necessary requirements. If the issue persists, consider updating to a newer version of OpenClaw.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

For an active openai-codex OAuth session, /status / session_status should show Codex quota windows such as 5h and Week/weekly usage, or at minimum openclaw status --usage should return Codex usage/quota data instead of Unsupported provider.

This is also consistent with the documented openclaw status --usage behaviour: provider usage windows should be printed as normalized % left values.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Codex OAuth usage quota missing from status; status --usage reports unsupported provider [1 comments, 2 participants]