[BUG] The request body is not valid JSON: no low surrogate in string

Resolved 💬 1 comment Opened Jun 15, 2025 by interior-night Closed Jun 15, 2025

Environment

  • Platform (select one):
  • [ x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.24 (Claude Code)
  • Operating System: MacOs 15.5
  • Terminal: Terminal App

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 50086 (char 50085)"}}

Expected Behavior

Expect an answer from Claud Code. Instead,

Actual Behavior

it starts thinking and then outputs the above error.

View original on GitHub ↗

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