[Bug] /usage endpoint returns error instead of usage data
Resolved 💬 3 comments Opened Oct 28, 2025 by karmajunkie Closed Oct 31, 2025
Bug Description
/usage does not return data currently, it just shows an error message
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.27
- Feedback ID:
Errors
[{"error":"AxiosError: Request failed with status code 403\n at UR (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n at Unzip.<anonymous> (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\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:90:21)\n at g3A.request (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async dh2 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3574:15030)","timestamp":"2025-10-27T17:43:07.351Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:440:20)\n at Object.readFileSync (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n at sb2 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3567:956)\n at Object.call (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3399:947)\n at call.next (<anonymous>)\n at vj6 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2685:65482)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Eq2 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2685:62539)\n at async file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2685:61708\n at async UhA (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:725:1714)","timestamp":"2025-10-27T17:46:37.104Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: ex\n at file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1419:190\n at Object.useMemo (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:25927)\n at yo2.useMemo (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:11:7671)\n at jq (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1419:81)\n at Cw (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n at Ao (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n at T9 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n at Uc (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n at qw (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)\n at eH (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:35208)","timestamp":"2025-10-27T18:56:47.044Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: ex\n at file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1419:190\n at Object.useMemo (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:25927)\n at yo2.useMemo (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:11:7671)\n at jq (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1419:81)\n at Cw (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n at Ao (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n at T9 (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n at Uc (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n at qw (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)\n at eH (file:///Users/keith/.asdf/installs/nodejs/24.7.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:35208)","timestamp":"2025-10-27T18:56:47.060Z"},{"error":"Error: La
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗