claude-code - 💡(How to fix) Fix [BUG] Bedrock Application Inference Profile ARN SigV4 signing broken (claude-agent-sdk 0.2.93–0.2.96) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45343Fetched 2026-04-09 08:07:32
View on GitHub
Comments
1
Participants
2
Timeline
9
Reactions
1
Timeline (top)
labeled ×7closed ×1commented ×1

Error Message

Failed to authenticate. API Error: 403 Authorization header requires 'Credential' parameter.
Authorization header requires 'Signature' parameter.
Authorization header requires 'SignedHeaders' parameter.
(Hashed with SHA-256 and encoded with Base64) Authorization=cQ4NvdQimYUQF6TWcmXs0EbxtO23QVJZkqGmqPqAElg=

Fix Action

Fix / Workaround

Workaround: pin to SHA 6e2bd52842c65e914eba5c8badd17560bd26b5de ([email protected])

Code Example

Failed to authenticate. API Error: 403 Authorization header requires 'Credential' parameter.                                                              
Authorization header requires 'Signature' parameter.                                                                                                      
Authorization header requires 'SignedHeaders' parameter.                                                                                                  
(Hashed with SHA-256 and encoded with Base64) Authorization=cQ4NvdQimYUQF6TWcmXs0EbxtO23QVJZkqGmqPqAElg=
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using claude-code-action@v1 with AWS Bedrock and an Application Inference Profile ARN as the model, all requests fail with 403. The SDK sends a non-SigV4 Authorization header to the Bedrock endpoint instead of a properly signed AWS4-HMAC-SHA256 header.

What Should Happen?

Requests to Bedrock should be signed with SigV4 using the available AWS credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN), matching the behaviour in [email protected].

Error Messages/Logs

Failed to authenticate. API Error: 403 Authorization header requires 'Credential' parameter.                                                              
Authorization header requires 'Signature' parameter.                                                                                                      
Authorization header requires 'SignedHeaders' parameter.                                                                                                  
(Hashed with SHA-256 and encoded with Base64) Authorization=cQ4NvdQimYUQF6TWcmXs0EbxtO23QVJZkqGmqPqAElg=

Steps to Reproduce

  1. Use claude-code-action@v1 (SHA 26ddc358 / [email protected]) in a GitHub Actions workflow
  2. Set use_bedrock: true with AWS OIDC credentials (configure-aws-credentials@v4)
  3. Pass an Application Inference Profile ARN via claude_args: --model arn:aws:bedrock:us-east-1:<account>:application-inference-profile/<id>
  4. Run the workflow — pre-flight check (aws bedrock-runtime invoke-model) passes, but Claude Code returns 403 auth failure

Workaround: pin to SHA 6e2bd52842c65e914eba5c8badd17560bd26b5de ([email protected])

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

[email protected] (action SHA 6e2bd52)

Claude Code Version

check claude-code-action@v1 SHA 26ddc358 bundled version

Platform

AWS Bedrock

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Non-interactive/CI environment

Additional Information

Related issues: #27890, #29660
Note: standard cross-region inference profile model IDs (us.anthropic.claude-*) are NOT affected — only Application Inference Profile ARNs trigger this.

extent analysis

TL;DR

Pin the claude-agent-sdk version to 0.2.92 to fix the authentication issue with AWS Bedrock.

Guidance

  • The issue is caused by the claude-code-action@v1 using an incorrect authorization header when sending requests to AWS Bedrock with an Application Inference Profile ARN as the model.
  • To verify the fix, check the authorization header in the request to ensure it is properly signed with SigV4 using the available AWS credentials.
  • Pinning the claude-agent-sdk version to 0.2.92 (SHA 6e2bd52842c65e914eba5c8badd17560bd26b5de) is a known workaround for this issue.
  • Ensure that the AWS credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN) are correctly configured and available to the claude-code-action.

Example

No code snippet is provided as the issue is related to a specific version of the claude-agent-sdk and the fix is to pin the version.

Notes

This issue only affects requests to AWS Bedrock with an Application Inference Profile ARN as the model, and not standard cross-region inference profile model IDs (us.anthropic.claude-*).

Recommendation

Apply the workaround by pinning the claude-agent-sdk version to 0.2.92, as this is a known fix for the authentication issue with AWS Bedrock.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING