Credit balance is too low

Resolved 💬 3 comments Opened Apr 17, 2026 by bouhafara-bot Closed Apr 20, 2026

Bug Description
why the script python ~/transcreate.py dont work ?

Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 2.1.112
  • Feedback ID: caede6a8-08e7-47b1-afbb-0701a598e86d

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/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2890:1356)\n    at IqY (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:14424)\n    at L$K (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3346:15059)\n    at ZhY (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14217)\n    at fhY (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14294)\n    at V2 (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:26080)\n    at Object.useState (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:104664)\n    at sy_.useState (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:541:9368)\n    at sn8 (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5714:14249)\n    at rdK (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6519:25752)","timestamp":"2026-04-17T02:13:43.019Z"},{"error":"Error: spawn /data/data/com.termux/files/home/.npm-global/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-04-17T02:13:43.128Z"},{"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_011Ca8XzehX7bzGBQ619HQcH\"}\n    at vq.generate (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:52315)\n    at qh.makeStatusError (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///data/data/com.termux/files/home/.npm-global/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/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8319:9872)\n    at async Tn8 (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5550:1910)\n    at async Zc4 (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2902:19051)\n    at async a85 (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8319:9739)\n    at async file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8615:1140","timestamp":"2026-04-17T02:13:43.808Z"},{"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_011Ca8Y85rJdjL6UPVhFz3YV\"}\n    at vq.generate (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:52315)\n    at qh.makeStatusError (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-04-17T02:15:24.619Z"},{"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/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:10090)\n    at Y (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:134:18338)\n    at Object.assign.cache (file:///data/data/com.termux/files/home/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:1133)\n    at oe (file:///data/data/com.termux/files/home/.npm-global/lib/node_modu…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗