[Bug] Anthropic API Error: 400 Bad Request
Open 💬 0 comments Opened Jul 14, 2026 by nickzherdev
Bug Description
api 400 eror
Environment Info
- Platform: linux
- Terminal: xterm-256color
- Version: 2.1.209
- Feedback ID: 3d1cf972-c432-43c1-b254-b3ac9c00e3dc
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The request body is not valid JSON: unexpected control character in string: line 1 column 2379 (char 2378)\"},\"request_id\":\"req_011Cd2GEE5ML2Vi5RQy7kocP\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:40:48038)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:80:7690)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-07-14T16:26:47.715Z"}]