-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Grok: SuperGrok Business / team principal fails with "No personal team" #2129
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Summary
Grok provider auth succeeds for a SuperGrok Business team member, but usage fetch fails with:
CLI path also cannot supply usage right now (
x.ai/billingreturnsMethod not foundon current Grok Build CLI), so there is no working fallback.This looks distinct from #1805 (weekly vs monthly calculation) and #1712 (xAI Platform prepaid API credits).
Environment
steipete/tap/codexbar)grok0.2.99)grok login --device-authas a team member (not personal SuperGrok only)Steps to Reproduce
grok login(device/OAuth). Consent as Team.~/.grok/auth.jsonexists and includes team identity fields (principal_type=Team,team_id,team_role, etc.).codexbar config enable --provider grok codexbar usage --provider grok -v --prettyActual Behavior
Verbose output shows both strategies fail:
Direct probe of the documented web billing endpoint with the same OIDC bearer also returns:
against:
So this is not just a missing login: identity/auth is present, but the billing surface appears personal-team-only.
Expected Behavior
For SuperGrok Business / team principals, CodexBar should either:
No personal team), and ideally still show identity/plan if available.Notes / evidence (redacted)
grok loginsucceeds and writes official~/.grok/auth.jsonwith:auth_mode: oidcprincipal_type: Teamteam_role: MEMBERinitializeworks;x.ai/billingreturns-32601 Method not found(known limitation in recent Grok CLI versions; docs already mention this class of issue).Why this matters
Business/team SuperGrok seats are increasingly common. Today CodexBar can already track OpenAI Codex Team quotas well, but Grok Business members cannot get any usage percentage, which breaks multi-provider quota dashboards.
Happy to test a fix / provide additional redacted payload samples if useful.