[BUG] 1.0.98 auth broken when using AWS with a proxy.
Resolved 💬 4 comments Opened Aug 30, 2025 by klauern Closed Jan 14, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.98
- Operating System: macOS (Darwin 24.6.0)
- Terminal: Ghostty
Bug Description
Claude Code v1.0.98 fails to authenticate with AWS Bedrock when using a proxy setup that works perfectly in v1.0.96. The application reports "Missing API key" error despite having ANTHROPIC_AUTH_TOKEN and other Bedrock environment variables properly configured. The /status command also reports "invalid settings" in v1.0.98, while the same configuration works flawlessly in v1.0.96.
Steps to Reproduce
- Configure Bedrock authentication with proxy using environment variables:
CLAUDE_CODE_USE_BEDROCK=1CLAUDE_CODE_SKIP_BEDROCK_AUTH=1ANTHROPIC_BEDROCK_BASE_URL=https://[redacted-proxy-url]/bedrockANTHROPIC_AUTH_TOKEN=[redacted]ANTHROPIC_MODEL=us.anthropic.claude-sonnet-4-20250514-v1:0
- Upgrade from Claude Code v1.0.96 to v1.0.98
- Attempt to use Claude Code with
claudecommand - Try running
claude /statuscommand
Expected Behavior
- Claude Code should authenticate successfully with Bedrock using the proxy configuration
- API calls should work as they did in v1.0.96
/statuscommand should show valid settings and authentication status
Actual Behavior
- Claude Code fails with "Missing API key" error when attempting to make API calls
/statuscommand reports "invalid settings"- The exact same configuration and environment variables work perfectly when downgrading back to v1.0.96
- Authentication and API functionality is completely broken in v1.0.98
Additional Context
- This appears to be a regression bug specific to v1.0.98
- The issue affects Bedrock authentication with custom proxy configurations
- Workaround: Downgrading to v1.0.96 resolves all authentication issues
- Environment variables are identical between working (v1.0.96) and broken (v1.0.98) versions
- Configuration files (settings.json) are also identical between versions
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗