API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The request body is not valid JSON: no low surrogate in string:

Resolved 💬 3 comments Opened Aug 22, 2025 by peterkrueck Closed Aug 25, 2025

Bug Description
continue
⎿ 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 157081 (char
157080)"},"request_id":"req_011CSNEUAqh6mSyT8KQJtZXw"}

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.86
  • Feedback ID: 3cc68f48-ea1e-44fd-aa7b-c13c275eafb8

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: svelte\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:1184)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2172\n    at Array.map (<anonymous>)\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2143)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2059\n    at Array.map (<anonymous>)\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2048)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:912\n    at Array.map (<anonymous>)\n    at IW (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:903)","timestamp":"2025-08-21T19:27:56.315Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: undefined\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:1184)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:912\n    at Array.map (<anonymous>)\n    at IW (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:903)\n    at ggB (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3053:12378)\n    at gR (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:330:19859)\n    at Qf (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:42835)\n    at Af (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38356)\n    at Pj (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38284)\n    at DO (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38138)","timestamp":"2025-08-21T19:27:56.335Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: svelte\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:1184)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2172\n    at Array.map (<anonymous>)\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2143)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2059\n    at Array.map (<anonymous>)\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:2048)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:912\n    at Array.map (<anonymous>)\n    at IW (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:903)","timestamp":"2025-08-21T20:02:30.365Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: undefined\n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:1184)\n    at file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:912\n    at Array.map (<anonymous>)\n    at IW (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1761:903)\n    at ggB (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3053:12378)\n    at gR (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:330:19859)\n    at Qf (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:42835)\n    at Af (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38356)\n    at Pj (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38284)\n    at DO (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:38138)","timestamp":"2025-08-21T20:02:30.374Z"},{"error":"Error: Another process is currently installing an update\n    at MZ1 (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1629:1776)\n    at Object.current (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3426:11239)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-22T01:51:29.202Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NX (file:///Users/peterkruck/.npm-global/lib/node_modules/@anthropic-ai/claude-code/c

Note: Error logs were truncated.

View original on GitHub ↗

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