[Bug] Anthropic API Error: OAuth token missing user:profile scope for /status usage data

Resolved 💬 2 comments Opened Dec 7, 2025 by rafiki270 Closed Dec 8, 2025

Bug Description
when I try to get usage info in /status I get this error (pro account, this user email): 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_011CVt64SSizDkGQ45w82ieJ"}

Environment Info

  • Platform: darwin
  • Terminal: ssh-session
  • Version: 2.0.61
  • Feedback ID:

Errors

[{"error":"AxiosError: Request failed with status code 403\n    at cS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:171:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:9852)\n    at Unzip.emit (node:events:520: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:89:21)\n    at wHA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async qS2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2064:6679)","timestamp":"2025-12-07T21:48:33.079Z"},{"error":"AxiosError: Request failed with status code 403\n    at cS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:171:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:9852)\n    at Unzip.emit (node:events:520: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:89:21)\n    at wHA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async GF0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3142:3913)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3142:5500","timestamp":"2025-12-07T22:07:27.892Z"},{"error":"AxiosError: Request failed with status code 403\n    at cS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:171:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:9852)\n    at Unzip.emit (node:events:520: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:89:21)\n    at wHA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Wv7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3138:460)\n    at async Promise.all (index 0)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3124:6918","timestamp":"2025-12-07T22:08:54.179Z"}]

View original on GitHub ↗

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