Invalid JSON Request: Malformed Low Surrogate in API Payload
Resolved 💬 3 comments Opened Aug 21, 2025 by perfecxion-ai Closed Aug 25, 2025
Bug Description
API 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 129185 (char
129184)"},"request_id":"req_011CSMPPDsQvhMYVhSZxi4vy"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.86
- Feedback ID: db192b99-fbb0-4ed7-8a09-2dd396a15e12
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 129185 (char 129184)\"},\"request_id\":\"req_011CSMPPDsQvhMYVhSZxi4vy\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2412)\n at dP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at dP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async LD1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async LD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async l9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async dH0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async V11 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-21T19:12:50.528Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗