[Bug] /usage command fails with insufficient OAuth scope (user:profile required)

Resolved 💬 2 comments Opened Dec 11, 2025 by cheneblanc Closed Dec 11, 2025

Bug Description
/usage doesn't work for me. I get Error: Failed to load usage data: {"type":"error","error":{"type":"permission_error","message":"OAuth token does not meet scope requirement
user:profile","details":{"error_visibility":"user_facing"}},"request_id":"req_011CVzrGP2LGDmD3jA5igHhm"}

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.65
  • Feedback ID:

Errors

[{"error":"AggregateError\n    at T2A.from (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:14882)\n    at vC.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:10016)\n    at vC.emit (node:events:519:35)\n    at vC.emit (node:domain:489:12)\n    at WW1.<computed> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:3432)\n    at ClientRequest.emit (node:events:519:35)\n    at ClientRequest.emit (node:domain:489:12)\n    at emitErrorEvent (node:_http_client:104:11)\n    at TLSSocket.socketErrorListener (node:_http_client:518:5)\n    at TLSSocket.emit (node:events:507:28)\n    at XKA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:2130)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at listOnTimeout (node:internal/timers:569:9)\n    at process.processTimers (node:internal/timers:543:7)\n    at async $q6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:328:4022)\n    at async G (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:192:33440)\n    at async Nq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:328:4247)\n    at async Lq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:328:5193)","timestamp":"2025-12-11T11:43:08.818Z"},{"error":"AxiosError: Request failed with status code 403\n    at Kj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:9852)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at XKA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async t_B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1009:47184)","timestamp":"2025-12-11T11:43:08.962Z"},{"error":"AxiosError: Request failed with status code 403\n    at Kj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:9852)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at XKA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async r50 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3013:4507)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3013:6094","timestamp":"2025-12-11T11:49:00.415Z"},{"error":"AxiosError: Request failed with status code 403\n    at Kj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:9852)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at XKA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:190:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async r50 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3013:4507)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3013:6094","timestamp":"2025-12-11T11:49:32.379Z"},{"error":"AxiosError: Request failed with status code 403\n    at Kj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:187:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:188:9852)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (no

Note: Error logs were truncated.

View original on GitHub ↗

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