Service / AgentForce
Anthropic models fail with E50004 when In-Region Model Requests Only is enabled
Summary
When the Enable In-Region Model Requests Only setting is enabled in Einstein Setup, requests to Anthropic models fail in certain Salesforce regions and instances. For example, anthropic.claude-sonnet-5-5 returns the following error:
{"errorCode":"NOT_FOUND","messageCode":"E50004","message":"anthropic.claude-sonnet-5-5 model is not available in the current region and fallback is disabled."}
The supported article lists these regions as supported. One example is Switzerland, which maps to the EU region. Even so, the requests fail with the error above when the setting is on.
https://help.salesforce.com/s/articleView?id=ai.generative_ai_large_language_model_support.htm&type=5
This issue is being investigated and addressed internally.
Workaround
Disable the Enable In-Region Model Requests Only setting in Einstein Setup.
Once disabled, retry the preview or test in Agent Builder or Prompt Builder. You should no longer encounter the error.
Steps to reproduce
In Setup, go to Einstein Setup and enable Enable In-Region Model Requests Only.
Open Agent Builder or Prompt Builder.
Select an Anthropic model, such as Claude Sonnet 5.5 or Claude Haiku 4.5.
Preview or test the configuration. The request fails with the error shown above
History
Description updated
Nov 30, 2026
First tracked here as Solution in Progress with 1 report
Nov 30, 2026