[BUG] Using the 2.1.156 version of the Claude Code for VS Code extension
Open 💬 7 comments Opened May 29, 2026 by DDdGJ
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?
When I try to ask a question in the VSCode sidebar chat box, I am getting errors.
What Should Happen?
Claude should return an answer to my request, like it has in the past.
Error Messages/Logs
API Error: 400 {“detail”:”Error code: 400 - {‘type’: ‘error’, ‘error’,: {‘type’: ‘invalid_request_error’, ‘message’: ‘messages: Unexpected role “system”. The Messages APO accepts a top-level system parameter, not “system” as an input message role.’}, ‘request_id’: ‘req_vrtx_011CbWz8zxEN7geApH4fQSVy’}”}
Steps to Reproduce
I out a question into the chat box and hit return.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Worked in current version
Claude Code Version
2.1.156
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗