[BUG] Claude for Excel (Bedrock direct) selects `us.` inference profile when manifest `aws_region` is `eu-west-1`, causing 400/404 at `bedrock-runtime.eu-west-1.amazonaws.com`
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 the claude-in-office manifest is provisioned with aws_region: eu-west-1 for the Bedrock direct path, the add-in constructs invoke URLs of the form:
https://bedrock-runtime.eu-west-1.amazonaws.com/model/us.anthropic.claude-opus-4-7/invoke
This is an invalid combination. The us. cross-region inference profile only exists in and routes to us-east-1, us-east-2, and us-west-2. It is not resolvable from a bedrock-runtime.eu-west-1.amazonaws.com endpoint, so every request fails.
The root cause appears to be that the add-in's model selection logic is not region-aware: it picks a us.-prefixed inference profile regardless of the configured aws_region.
Why admins cannot work around this
Per the third-party platforms documentation and the claude-in-office manifest spec, admins can configure aws_region but cannot pin a specific inference profile ID. The add-in discovers and selects the model at runtime. That means this bug cannot be worked around through manifest configuration — it requires a code fix.
What Should Happen?
When aws_region is an EU region, the add-in should select a compatible profile:
- An
eu.-prefixed geographic CRIS profile if one exists for the target model (e.g.,eu.anthropic.claude-opus-4-6-v1for Opus 4.6), or - A
global.-prefixed profile (e.g.,global.anthropic.claude-opus-4-7) when noeu.profile exists and the source region supports global CRIS (eu-west-1 does).
Symmetrically for apac. / APAC regions.
Error Messages/Logs
Claude for Office connection failed (Bedrock)
Build: *****
400 The provided model identifier is invalid.
Request:
aws_role_arn: arn:aws:iam::*********:role/ClaudeBedrockAccess
aws_region: eu-west-1
Manifest params:
m: unified-1.0.0.12
aws_role_arn: arn:aws:iam::********:role/ClaudeBedrockAccess
aws_region: eu-west-1
entra_sso: 1
et:
Bootstrap response:
(not called)
Raw error:
400 The provided model identifier is invalid.
Steps to Reproduce
- Run
/claude-in-office:setupand configure the Bedrock direct path withaws_region: eu-west-1. - Ensure the signed-in AWS role has access to
eu.and/orglobal.inference profiles in eu-west-1 (verified working via AWS CLIbedrock-runtime invoke-model). - Deploy the manifest and open Claude for Excel.
- Sign in via Entra ID.
- Any prompt fails with an invocation error against
https://bedrock-runtime.eu-west-1.amazonaws.com/model/us.anthropic.claude-opus-4-7/invoke.
Expected Behavior
The add-in selects an inference profile whose source-region list includes the configured aws_region, and successfully invokes the model.
Actual Behavior
The add-in selects us.anthropic.claude-opus-4-7 (or similar us.-prefixed profile) and sends it to the eu-west-1 endpoint, resulting in a 400/404.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.113
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗