[BUG] API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"{\"message\":\"messages.3.content.0.tool_result.content.0.type: Field required\"}"},
Resolved 💬 3 comments Opened Mar 5, 2026 by stephenzhang0713 Closed Mar 6, 2026
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?
After upgrade to latest Claude Code, I can't use any commands of Claude Code, It shows API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"{\"message\":\"messages.3.content.0.tool_result.content.0.type: Field required\"}"},"
What Should Happen?
If I downgrade to v2.1.63, it turns right
Error Messages/Logs
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"{\"message\":\"messages.3.content.0.tool_result.content.0.type: Field required\"}"},"
Steps to Reproduce
- claude command
- /init
- it turns error
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.69
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗