You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> /usage
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Settings: Status Config Usage (tab to cycle)
Error: Failed to load usage data
Esc to exit
Not working for me... tried logout/login - still the same. Then I remembered I had CLAUDE_CODE_OAUTH_TOKEN set.
Unsetting it solved the problem.
I also miss some more info why some thing is not working... this is one example. Other's are why pasting images does not work, why terminal setup doesn't work, etc...
Here are the logs (-d):
[DEBUG] Shell snapshot created successfully (286825 bytes)
[DEBUG] AutoUpdaterWrapper: Installation type: npm-global, using native: false
[DEBUG] Writing to temp file: /home/s/.claude.json.tmp.938123.1759592317405
[DEBUG] Preserving file permissions: 100600
[DEBUG] Temp file written successfully, size: 29987 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming /home/s/.claude.json.tmp.938123.1759592317405 to /home/s/.claude.json
[DEBUG] File /home/s/.claude.json written atomically
[ERROR] AxiosError: AxiosError: Request failed with status code 403
at fN (file:///home/s/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)
at Unzip.z0 (file:///home/s/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)
at Unzip.emit (node:events:530:35)
at Unzip.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at vQ1.request (file:///home/s/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async E3B (file:///home/s/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:2208:3700)
at async J (file:///home/s/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:2208:5193)
$ uname -a
Linux c 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
I have this issue for a while now, across several CC version.
In v2.0.50 it raises:
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 hash>"}
I've tried to re-run the claude setup-token but nothing has changed. I can see only one env variable CLAUDE_CODE_SSE_PORT in my terminal.
By the way CC is laughably bad at its own documentation: I asked how to fix the error, and multiple times it suggest to run a command that does not exist (claude auth logout): it will only launch code with auth logout as prompt, and the CC will say "oh I see you're trying to do something with auth, do you want me to ...` and proceed to get confused with the content of the directory where it was launched. Then when confronted with the fact it does not work like that, it downplays the error as just "cosmetics"
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
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_hash"}```
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_hash"}```
Still an issue.
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_011CXbMKMaKi...."}
same issue in the wsl2 ubuntu-22.04
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_011CXpANw7YHNiJSAM6QGGb2"}
Settings: Status Config Usage (←/→ or tab to cycle)
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_011CYYbCC6xHNaDe9dsnqR2n"}
Activity
akamalov commentedon Sep 30, 2025
I second this error:
Claude Code Version:
2.0.1 (Claude Code)Issuing
/usagecommand:nick442 commentedon Sep 30, 2025
Log out and log in again, it will work
peterbedorjr commentedon Sep 30, 2025
Refreshing the auth token worked for me.
akamalov commentedon Sep 30, 2025
Thanks @peterbedorjr . Yes, I concur that it works once auth token is refreshed.
jveko commentedon Sep 30, 2025
Yes relogin can fix these issue, because the new claude code need more permission
cowwoc commentedon Oct 3, 2025
Hint to Anthropic: improve the UI. If you need additional permissions, explain as much. Ask the user to relogin.
tdi commentedon Oct 4, 2025
Logout works
samodadela commentedon Oct 4, 2025
Not working for me... tried logout/login - still the same. Then I remembered I had CLAUDE_CODE_OAUTH_TOKEN set.
Unsetting it solved the problem.
I also miss some more info why some thing is not working... this is one example. Other's are why pasting images does not work, why terminal setup doesn't work, etc...
Here are the logs (-d):
tekn0x commentedon Oct 10, 2025
I also get the same error.
marcospgp commentedon Oct 13, 2025
Logging out and back in fixed this for me. But it definitely feels like something that should be fixed regardless.
10 remaining items
kompre commentedon Nov 24, 2025
I have this issue for a while now, across several CC version.
In
v2.0.50it raises:I've tried to re-run the
claude setup-tokenbut nothing has changed. I can see only one env variableCLAUDE_CODE_SSE_PORTin my terminal.By the way CC is laughably bad at its own documentation: I asked how to fix the error, and multiple times it suggest to run a command that does not exist (
claude auth logout): it will only launch code withauth logoutas prompt, and the CC will say "oh I see you're trying to do something with auth, do you want me to ...` and proceed to get confused with the content of the directory where it was launched. Then when confronted with the fact it does not work like that, it downplays the error as just "cosmetics"github-actions commentedon Dec 25, 2025
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
eric-summersault commentedon Jan 14, 2026
I am getting this issue still
peroxy commentedon Jan 16, 2026
Same here, ubuntu 24.04
aiarcheology commentedon Jan 29, 2026
Still an issue.
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_011CXbMKMaKi...."}
paulboul1013 commentedon Feb 5, 2026
same issue in the wsl2 ubuntu-22.04
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_011CXpANw7YHNiJSAM6QGGb2"}
philsimon commentedon Feb 9, 2026
Same issue using my MBP M1 running Tahoe. Logging out and then back in doesn't permanently resolve it. Frustrating AF.
oozoofrog commentedon Feb 27, 2026
Same issue here too, from almost 3 weeks ago.
KernelBypass commentedon May 23, 2026
Issue still persists intermittently.
stasadev commentedon Jun 12, 2026
For me the problem was in:
https://code.claude.com/docs/en/env-vars
Shouldn't I see my usage even when this environment variable is set?
dandv commentedon Jun 27, 2026
@stasadev exactly. I filed an issue against having
/usagebreak if CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=true.agentic(claude): keep nonessential traffic enabled