Skip to content

Provider usage retains Claude Max badge after paid subscription lapses, with only a generic refresh warning #6685

Open

Description

@frrad

Summary

After my paid Claude subscription lapsed, bb's Provider usage panel still showed the account as Max (20x) with usage bars. The panel displayed “Couldn’t refresh. Showing last update.”, but gave no account-specific indication that the paid subscription had ended. The retained plan badge makes it difficult to tell whether the account still has paid access.

Versions and environment

  • bb 0.48.0, installed npm distribution (bb-app), bundled provider-claude-code and provider-usage plugins.
  • Execution host: Debian 13.7, Node v24.22.2; accessed remotely through bb Connect.
  • Claude Code 2.1.314.
  • Investigation inspected the installed 0.48.0 JavaScript bundles; no source base commit was available. Not independently reproduced on latest release or main.

Steps to reproduce

User-observed sequence; reproducing the paid-account transition independently would require an account whose subscription actually lapses:

  1. Sign in to Claude Code with a paid Claude Max account and load bb's Provider usage panel so it has a successful measurement.
  2. Let the paid subscription lapse.
  3. Open the Provider usage panel for the execution host.
  4. Observe the retained plan badge and usage values alongside the generic refresh warning.

No deliberate subscription cancellation or independent live repro was performed during this investigation. The HTTP response behind the refresh failure was not captured, so it is not established that the lapse itself caused that failure.

Expected vs actual

Actual, observed on 30 October 2026:

Couldn’t refresh. Showing last update.

Claude account: Max (20x)
5h:         9%,  reset “now”
7d:        14%,  reset in 2d 21h
7d · Fable: 0%,  reset in 2d 21h

The user reports that the paid subscription had already lapsed. There is a stale-data warning, but it is shared across the panel and does not explain the Claude account's subscription status or the freshness/source of the plan label.

Expected: distinguish a saved plan label from verified current paid entitlement. If the provider supplies an authoritative subscription-ended or billing failure signal, surface that on the affected account. If current subscription status cannot be determined, make that uncertainty clear rather than presenting the retained Max badge as if it establishes current paid access. A usage-check failure alone should not be treated as proof of subscription expiry.

Evidence

Installed bundle inspection (observations about the shipped code, not proof of the upstream response in this incident):

  • server/dist/builtin-plugins/provider-claude-code/dist/host.js: planLabel / normalizeUsage derive the plan name from saved OAuth subscriptionType and rateLimitTier.
  • getClaudeProviderHealth determines ready / expired using local token presence and expiresAt; it does not verify paid subscription validity.
  • getClaudeProviderUsage requests https://api.anthropic.com/api/oauth/usage. A 401 becomes expired; other non-success responses become a generic usage error. This code does not expose a separate paid-subscription-ended state.
  • server/dist/builtin-plugins/provider-usage/dist/server.js: fetchResource rejects an error measurement and retains the previous successful measurement; the panel then renders that prior account data with a refresh warning.

These paths explain how an old Max badge can remain visible. They do not establish whether Anthropic exposes an authoritative subscription-ended signal for this account.

Investigation: bb thread thr_3ffnspys6v (project proj_b88djj3s6q, environment env_4ih9r3wxnp).

What you ruled out

Checks

  • I explicitly state that this was not independently reproduced on latest release or main.
  • I searched open and closed issues for the same problem.
  • This report identifies the investigation thread and separates observed behavior from possible causes.

AGENT GENERATED

Activity

  1. added theissue type on Oct 30, 2026
  2. added
    providers
    provider-claude-code
    partial-repro
    on Oct 30, 2026
  3. bb-slop-cop commented on Oct 30, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Medium · Effort: Medium. Applied providers, provider-claude-code, and partial-repro; no existing classifications were replaced.
    • Reproduction and root-cause report: PARTIALLY REPRODUCED, confidence medium.
    • Root cause: the plan label comes from saved credential metadata. Failed usage refreshes preserve the last successful measurement, including its plan badge, while the panel exposes only a generic machine-level warning.
    • Evidence: the real provider → usage source → display cache → settings renderer retained the badge after synthetic HTTP 200 → 503 responses in two clean trusted-main checkouts. All 22 relevant existing tests passed. Actual subscription lapse and an authoritative billing signal remain unverified; browser capture was unavailable, so the report includes actual rendered HTML text instead.
    • No PR: subscription/plan-provenance semantics require provider evidence and a product decision, failing the simple-fix gate.
  4. seklow commented on Nov 11, 2026

    @seklow

    Another instance of the same Provider usage behaviour, this time with a known cause. An Account Pooler account whose OAuth refresh was rejected (invalid_grant: Refresh token expired) kept its last usage bars, unmarked, behind the group-wide "Couldn’t refresh. Showing last update." notice. Details and the code path are in #7417.

    AGENT GENERATED

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

    partial-reproprovider-claude-codeproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions