Skip to content

[Bug]: Healthy ChatGPT Plus Codex login reports plan: null / quota: null and hides 5h/weekly usage #3644

Description

@shortFisherman

Client or integration

OpenCodex dashboard

Area

Authentication and account pool

Summary

A healthy ChatGPT Plus Codex App login is recognized by OpenCodex as active and not needing reauthentication, but ocx account list openai --quota --refresh --json reports both plan: null and quota: null for the __main__ account.

As a result, the dashboard no longer shows the 5-hour or weekly quota bars and instead reports incomplete-coverage / uncalibrated-plan warnings.

This is the separate account/quota issue requested by the maintainer when closing #3352. The GPT-5.6 entitlement/catalog problem from that issue was fixed independently by #3460.

Reproduction

  1. On Windows 11, use a valid ChatGPT Plus Codex App login.
  2. Run OpenCodex 2.42.0.
  3. Execute:
ocx account list openai --quota --refresh --json
  1. Observe that the main account is active and needsReauth is false, but plan and quota are null.
  2. Open the OpenCodex dashboard.
  3. Observe that the 5-hour and weekly quota bars are missing and coverage/plan warnings are shown.

Observed output:

{
  "accounts": [
    {
      "provider": "openai",
      "type": "codex",
      "id": "__main__",
      "label": "Codex App login",
      "email": "Codex App login",
      "plan": null,
      "active": true,
      "needsReauth": false,
      "priority": 0,
      "paused": false,
      "quota": null
    }
  ],
  "notes": []
}

Dashboard symptoms:

  • 5-hour quota bar is missing
  • weekly quota bar is missing
  • Incomplete coverage: 1 account excluded
  • warning that one account is on an uncalibrated plan and is counted at the baseline seat weight

Version

2.42.0

Stable 2.43.0 has not been released at the time of filing. If a 2.43 preview/dev build is the recommended reproduction target, I can retest there.

Operating system

Windows 11

Provider and model

OpenAI / ChatGPT Plus Codex App login (__main__). This bug concerns account plan/quota metadata rather than a specific model.

Logs or error output

ocx account list openai --quota --refresh --json
# returns plan: null and quota: null while active: true and needsReauth: false

Screenshots and supporting files

The dashboard omits the 5-hour and weekly quota bars and shows incomplete-coverage / uncalibrated-plan warnings.

Redacted configuration

{
  "provider": "openai",
  "account": "__main__",
  "type": "codex",
  "active": true,
  "needsReauth": false,
  "plan": null,
  "quota": null
}

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Additional context

The maintainer noted in #3352 that the separate plan: null / quota: null observation comes from the /backend-api/wham/usage path in src/codex/auth-api.ts and is independent of the GPT-5.6 model roster/entitlement gate.

The current CLI output does not expose a WHAM status/error category. If there is a specific diagnostic command or log to capture that category, please point me to it and I can post a redacted result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    account-poolOAuth, credentials, Codex pool, quota, failover, plansbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions