[BUG] API Error: 400 he request body is not valid JSON
Resolved 💬 3 comments Opened Sep 30, 2025 by mockif Closed Oct 4, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
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 175409 (char
175408)"},"request_id":"req_011CTf4LuMTYLYTZqNFmV9sQ"}
What Should Happen?
We should be able to give input and claude code should execute it
Error Messages/Logs
Steps to Reproduce
This happens when we give instruction to claude code
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.1
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗