What
- Org login/managed-settings validation failures now carry a machine-readable
reason(for examplemanaged_settings_invalidororg_pin_api_key_conflict) and apolicyUnreadableflag, in addition to the existing human-readable message. - When managed settings are unreadable or invalid, or a policy refusal state exists, Claude Code now sends a dedicated telemetry export (using OTel, a tracing/telemetry standard) that force-flushes with a timeout, rather than relying on general telemetry.
Why The structured reason and flag let tooling distinguish specific managed-settings failure causes instead of parsing free text, and the dedicated telemetry export makes it more likely that failure data reaches the server before the process exits.
Names in the bundlemanaged_settings_invalidorg_pin_api_key_conflict
Documented inclaude-code/agent-sdk/typescript
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 since
Anthropic's documentation has since written up managed_settings_invalid, on Agent SDK reference - TypeScript.
| `managed_settings_invalid` | Managed policy settings couldn't be read, the pin names no organization, or [managed model restrictions](/docs/en/errors#managed-settings-block-the-default-model) leave no permitted model for the Default opti…agent-sdk/typescript see the edit
Confirmed since
Anthropic's documentation has since written up org_pin_api_key_conflict, on Agent SDK reference - TypeScript.
| `org_pin_api_key_conflict` | Managed settings [require a first-party or Cloud gateway sign-in](/docs/en/authentication#restrict-login-to-your-organization), and an Anthropic API key, auth token, or `apiKeyHelper` is configured instead |agent-sdk/typescript see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up org_pin_api_key_conflict, on Agent SDK reference - TypeScript.