Invalid JSON Parsing in Claude Code Request Handling
Resolved 💬 3 comments Opened Aug 19, 2025 by mady22070 Closed Aug 23, 2025
Bug Description
i'm trying to paste a json but its showing invalid request error
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.72
- Feedback ID: ef87b86f-0855-4b00-a87f-3f73aee3fddb
Errors
[{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-18T22:05:47.469Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-18T22:35:47.526Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-18T23:05:47.413Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-18T23:35:47.481Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-19T00:05:47.496Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-19T00:35:47.287Z"},{"error":"Error: Failed to check bun permissions\n at q48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async M$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3280:10963)","timestamp":"2025-08-19T01:05:47.162Z"},{"error":"Error: ### Result\nError: Ref e17 not found in the current page snapshot. Try capturing new snapshot.\n\n at SOB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1778:11966)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1778:6731)\n at async qq8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3044:11523)\n at async XuB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3044:7800)\n at async wq8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3044:67
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗