[BUG] The command `/usage` return the error
Resolved 💬 3 comments Opened Nov 26, 2025 by FulgerX2007 Closed Nov 26, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Error: Failed to load usage data:
{
"type": "error",
"error": {
"type": "permission_error",
"message": "OAuth token has been revoked. Please obtain a new token.",
"details": {
"error_visibility": "user_facing"
}
},
"request_id": "req_011CVWGehAHTRwBjN8PtBMYP"
}
I have ran command /logout, removed the .credentials.json and re-login, the error persist.
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 2.0.54
- Feedback ID:
What Should Happen?
Usage statistics should be displayed.
Error Messages/Logs
[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/user/.local/share/claude/versions/2.0.50 (expected in multi-process scenarios)
at $7D (/$bunfs/root/claude:2653:1622)
at qWA (/$bunfs/root/claude:2651:13475)
at async _WA (/$bunfs/root/claude:2653:3435)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:10.432Z"},{"error":"Error
at NO (/$bunfs/root/claude:27:1143)
at <anonymous> (/$bunfs/root/claude:32:10056)
at emit (node:events:92:22)
at endReadableNT (internal:streams/readable:862:50)
at processTicksAndRejections (native:7:39)
at request (/$bunfs/root/claude:34:2147)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:10.434Z"},{"error":"Error
at NO (/$bunfs/root/claude:27:1143)
at <anonymous> (/$bunfs/root/claude:32:10056)
at emit (node:events:92:22)
at endReadableNT (internal:streams/readable:862:50)
at processTicksAndRejections (native:7:39)
at request (/$bunfs/root/claude:34:2147)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:11.048Z"},{"error":"Error
at NO (/$bunfs/root/claude:27:1143)
at <anonymous> (/$bunfs/root/claude:32:10056)
at emit (node:events:92:22)
at endReadableNT (internal:streams/readable:862:50)
at processTicksAndRejections (native:7:39)
at request (/$bunfs/root/claude:34:2147)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:11.049Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7Li7LK5Y9xbLD5DNr"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:11.226Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7ezSyVady1mVoE2d7"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:15.517Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7eyx7rutZk6zwY4Wi"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:15.548Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7fBcTucuytqvnLTYa"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:15.557Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7fCMSnXjyzZdU4pJV"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:15.558Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."},"request_id":"req_011CVWG7fC7BebgmB1SbWrXR"}
at generate (/$bunfs/root/claude:412:9506)
at makeRequest (/$bunfs/root/claude:1259:5434)
at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T09:26:15.559Z"},{"error":"Error: 403 {"type":"error","error":{"type":"permission_error","message":"OAuth token has been revoked. Please obtain a new token."}
Steps to Reproduce
- Run
claude - Run
/usage - Usage statistics should be displayed.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.54 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗