[BUG]
Status Fixed / completed
Reported on v2.1.7
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 4 comments · opened Apr 16, 2026 · closed Apr 16, 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?
I am trying to access the claude opus model using AWS BEDROCK from my claude code extension in the VS CODE IDE but I am getting the following error.
API Error: 400 messages.1.content.0.type: Expected `thinking` or `redacted_thinking`, but found `text`. When `thinking` is
enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and
`tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable
`thinking`. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinking
I tried some troubleshoot methods e.g.
setting up the vs code settings.json
"claudeCode.preferredLocation": "panel",
"claudeCode.skipLogin": true,
"claudeCode.disableLoginPrompt": true,
"claudeCode.enableExtendedThinking": false, // Set it to false so thinkign will not block the response
"claudeCode.selectedModel": "global.anthropic.claude-3-opus-20240229-v1:0",
and changing the model , but non of these solution worked. I have enabled ALL IAM permission's to access aws bedrock even asking to claude for where it is running is responding me properly.
shivnandansoni@Shivs-MacBook-Air-7 pilot-mobile % claude
╭─── Claude Code v2.1.110 ───────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity │
│ ▝▜█████▛▘ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ │ │
│ Sonnet 4 · API Usage Billing │ │
│ ~/Developer/Leher/pilot-mobile-copy/pilot-mobile │ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
❯ hi are you running on bedrock ?
⏺ Based on the model ID I can see in my environment (apac.anthropic.claude-sonnet-4-20250514-v1:0), it appears I am running on AWS
Bedrock in the Asia-Pacific region. The "apac" prefix in the model ID is typically associated with Bedrock deployments.
What Should Happen?
It should give me the system design guidelines that I asked.
Error Messages/Logs
API Error: 400 messages.1.content.0.type: Expected `thinking` or `redacted_thinking`, but found `text`. When `thinking` is
enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and
`tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable
`thinking`. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinking
Steps to Reproduce
- I tried some troubleshoot methods e.g.
setting up the vs code settings.json
"claudeCode.preferredLocation": "panel",
"claudeCode.skipLogin": true,
"claudeCode.disableLoginPrompt": true,
"claudeCode.enableExtendedThinking": false, // Set it to false so thinkign will not block the response
"claudeCode.selectedModel": "global.anthropic.claude-3-opus-20240229-v1:0",
- changing the model , but non of these solution worked. I have enabled ALL IAM permission's to access aws bedrock even asking to claude for
where it is runningis responding me properly.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.7
Claude Code Version
2.1.110
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
4 Comments
Hey everyone I have got a solution if you are getting the same issue this is the solution.
use the cluadeCode extention in the VS CODE
1: type / in the chat.
2: Turn the button
OFFshown in the image.<img width="1054" height="728" alt="Image" src="https://github.com/user-attachments/assets/066ae413-7676-4fbc-8eb4-253d0ca4fefb" />
The workaround that worked for me was to downgrade version to 2.1.86:
curl -fsSL https://claude.ai/install.sh | bash -s 2.1.86If you guys are using ClaudeCode using CLI then you need to follow these steps
1: Type
/configthen pressEnter.2: find the
Thinkingin the list.3: toggle it to
false<img width="2922" height="1130" alt="Image" src="https://github.com/user-attachments/assets/aa42b2e9-9fde-401a-a08b-b9f3bd05594a" />
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.