[Bug] Anthropic API Error: OAuth token missing user:profile scope for usage data
Open 💬 6 comments Opened Dec 11, 2025 by mairaj-syed
Bug Description
When I tried to see my usage in the status bar, I saw the following error: 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_011CW1TiRmL2GDW3f5ZhB3N8"}
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.0.65
- Feedback ID:
Errors
[{"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:1696: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-11T19:34:13.881Z"},{"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:1696: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-11T19:34:29.935Z"},{"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:1696: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-11T19:35:21.730Z"},{"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:1696: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-11T19:35:36.044Z"},{"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:1696: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 R35 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3009:460)\n at async Promise.all (index 0)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2995:6954","timestamp":"2025-12-11T19:38:51.251Z"}]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗