Settings usage page fails with OAuth scope error: permission_error user:profile

Resolved 💬 2 comments Opened Feb 10, 2026 by arthurworsley Closed Feb 10, 2026

Bug

Viewing usage data in Claude Code settings fails with a permission error.

Error

Error: Failed to load usage data: {
  "type": "error",
  "error": {
    "type": "permission_error",
    "message": "OAuth token does not meet scope requirement\n  user:profile",
    "details": {"error_visibility": "user_facing"}
  },
  "request_id": "req_011CXz9qEr31z4KrCj34k1yi"
}

Context

  • The OAuth token used by Claude Code appears to be missing the user:profile scope required to fetch usage data.
  • This happens when navigating to the usage section in Claude Code settings.

Expected behavior

Usage data should load successfully, or the OAuth flow should request the necessary user:profile scope.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗