Credit balance is too low
Status Fixed / completed
Reported on v2.1.112
Maintainer reply None cached
Activity 1 comment · opened Jul 16, 2026 · closed Aug 16, 2026
Bug Description
Read https://github.com/OpenRouterTeam/skills/tree/main/skills/create-agent-tui and follow the instructions to build an agent using OpenRouter.
Environment Info
- Platform: linux
- Terminal: xterm-256color
- Version: 2.1.112
- Feedback ID: 952442d0-f7b6-41df-a42e-06908ede3fd1
Errors
[{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n at TX (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2890:1356)\n at IqY (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:14424)\n at L$K (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:15059)\n at ZhY (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14217)\n at fhY (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14294)\n at V2 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:26080)\n at Object.useState (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:104664)\n at sy_.useState (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:541:9368)\n at sn8 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14249)\n at rdK (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:6519:25752)","timestamp":"2026-07-16T13:52:51.647Z"},{"error":"Error: spawn /data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-android/rg ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n at onErrorNT (node:internal/child_process:507:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-07-16T13:52:52.006Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.\"},\"request_id\":\"req_011Cd5r7NMhrwv5v4a9ZgT2A\"}\n at vq.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:52315)\n at qh.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n at qh.makeRequest (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async Tn8.maxRetries (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8319:9872)\n at async Tn8 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:5550:1910)\n at async Zc4 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:2902:19051)\n at async a85 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8319:9739)\n at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8615:1140","timestamp":"2026-07-16T13:52:53.624Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.\"},\"request_id\":\"req_011Cd5r9y7JLxLXjrPBD4HjT\"}\n at vq.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:52315)\n at qh.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n at qh.makeRequest (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-07-16T13:53:28.317Z"},{"error":"SyntaxError: Unexpected token 'C', \"Credit bal\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at xF7 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:10090)\n at Y (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:134:18338)\n at Object.assign.cache (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:1133)\n at oe (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:6498:473)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-07-16T13:53:28.331Z"},{"error":"Error: 400 {\…
Note: Content was truncated.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗