You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Managed SettingsArea: what it touches
ImprovementsKind: in v2.1.285,
ImprovementsSection of the release
Unclear Only the description of this refusal reason was seen, not the code that enforces it.
What
The list of reasons Claude Code can give for refusing to start now includes provider_not_allowed. It applies when managed settings (settings an administrator sets for a machine) list the API providers allowed in allowedProviders, and the session uses a provider not on that list. An API provider is the service Claude Code sends its requests to.
Why
Administrators get control over which API providers Claude Code may use on a machine.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up allowedProviders, on Authentication.[`allowedProviders`](/docs/en/settings-reference#allowedproviders) in [managed settings](/docs/en/managed-settings) lists which services a managed machine may reach Claude through, such as the Anthropic API, Amazon Bedrock, or an LLM gatew…authenticationsee the edit
Added sinceA small documentation edit on Set up Claude Code for your organization touched a line naming allowedProviders after this was published.| [Provider restrictions](/docs/en/settings-reference#allowedproviders) | Limit which API providers a machine may use. A session on a provider that isn't listed is refused at startup, at login, and when it next contacts the API. Requires C…admin-setupsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtOnly the description of this refusal reason was seen, not the code that enforces it.
Anthropic's documentation agreesA small documentation edit on Set up Claude Code for your organization touched a line naming allowedProviders after this was published.
Anthropic's release notes agreeAdded allowedProviders managed setting to limit which API providers a machine may use (Anthropic API, a custom endpoint, Bedrock, Mantle…