Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.53 ·

OAuth Token Expiration Handling for Usage Data

Entry
JSON All of v2.0.53
EntryKind: in v2.0.53,
ChangesSection of the release

What: The API usage data fetcher now checks if the OAuth token is expiring before making API calls, gracefully falling back to cached data instead of throwing errors.

Details:

  • Previously, the usage data fetch (VPA() at line 471623) would attempt API calls even with expiring tokens, potentially causing "Failed to load usage data" errors
  • Now checks if token expires within 5 minutes and returns null immediately if so
  • Falls back to cached usage data rather than displaying errors during token refresh windows
  • Evidence: VPA() at line 471623-471636 in v2.0.53, new check using W6() (OAuth token getter at line 163812) and Ym() (expiration checker at line 67497)

User impact: Fewer transient error messages when viewing API usage near token expiration times.

See this entry in the whole of v2.0.53 →

Feedback