[Bug] Anthropic API Error: Unexpected end of JSON input in Response parsing

Resolved 💬 1 comment Opened Apr 20, 2026 by aryan-code30 Closed May 27, 2026

Bug Description
Failed to execute 'json' on 'Response': Unexpected end of JSON input (it giving me this error)

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.98
  • Feedback ID: a7284151-505c-4e21-b462-7e4586ca2195

Errors

[{"error":"Error: File does not exist. Note: your current working directory is /Users/chill/Desktop/SaaS.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4367:7632)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T23:05:46.230Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaDyzsAQue5J3x6TUpyGC\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52623)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T23:17:41.965Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗