Bug Report The request body is not valid JSON: no low surrogate in string

Resolved 💬 1 comment Opened Jul 10, 2025 by callma-jiwoo Closed Jul 10, 2025

Bug Description

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.45
  • Feedback ID: 2c7ff750-ee9a-4df7-8035-cf647e7735d7

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The request body is not valid JSON: no low surrogate in string: line 1 column 217026 (char 217025)\"}}\n    at D6.generate (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1305:12578)\n    at pq.makeStatusError (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:2100)\n    at pq.makeRequest (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async VO2.mA1.showErrors (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23185)\n    at async mA1 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:12720)\n    at async VO2 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23034)\n    at async file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18138\n    at async N0A (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:5121)\n    at async Uc (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18108)","timestamp":"2025-07-10T06:08:10.688Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The request body is not valid JSON: no low surrogate in string: line 1 column 217026 (char 217025)\"}}\n    at D6.generate (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1305:12578)\n    at pq.makeStatusError (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:2100)\n    at pq.makeRequest (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async VO2.mA1.showErrors (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23185)\n    at async mA1 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:12720)\n    at async VO2 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23034)\n    at async file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18138\n    at async N0A (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:5121)\n    at async Uc (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18108)","timestamp":"2025-07-10T07:22:53.151Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The request body is not valid JSON: no low surrogate in string: line 1 column 217026 (char 217025)\"}}\n    at D6.generate (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1305:12578)\n    at pq.makeStatusError (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:2100)\n    at pq.makeRequest (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async VO2.mA1.showErrors (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23185)\n    at async mA1 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:12720)\n    at async VO2 (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23034)\n    at async file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18138\n    at async N0A (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:5121)\n    at async Uc (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:18108)","timestamp":"2025-07-10T07:23:17.139Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The request body is not valid JSON: no low surrogate in string: line 1 column 217026 (char 217025)\"}}\n    at D6.generate (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1305:12578)\n    at pq.makeStatusError (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:2100)\n    at pq.makeRequest (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1322:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async VO2.mA1.showErrors (file:///home/mman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1691:23185)\n    at async mA

Note: Error logs were truncated.

View original on GitHub ↗

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