[BUG] AWS_BEARER_TOKEN_BEDROCK auth broken on v2.1.94

Status Fixed / completed
Maintainer reply None cached
Activity 7 comments · opened Apr 8, 2026 · closed Apr 13, 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?

When I use claude.exe in Windows environment and ask a question to claude, claude dose not work and show following message.

403 {"Message":"Authorization header is missing"}

What Should Happen?

Claude should response to my question.

Error Messages/Logs

Steps to Reproduce

Set AWS_BEARER_TOKEN_BEDROCK, CLAUDE_CODE_USE_BEDROCK=1, AWS_REGION
Run claude (v2.1.94) → enter interactive mode → send any question → 403

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.92

Claude Code Version

v2.1.94

Platform

AWS Bedrock

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

This bug is also reproduced in git bash terminal.

View original on GitHub ↗

7 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/44910
  2. https://github.com/anthropics/claude-code/issues/44929
  3. https://github.com/anthropics/claude-code/issues/44944

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

Caerii · 4 months ago

I am having this exact same issue and it has broken my workflow for utilizing Claude Code....

Hi-Nkt · 4 months ago

Note the same issues but not for Windows platform have been already reported by others.
I made this report just for Windows platform to show those issues also affect to Windows environment explicitly.

JustinHop · 4 months ago

Reproduced on Mac and Ubuntu

sperka · 4 months ago

reproduced on mac. this must be bug that was accidentally introduced while adding bedrock mantle support imho

Hi-Nkt · 4 months ago

This issue seems to be fixed in v2.1.96.

github-actions[bot] · 4 months ago

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.