Group of 2 Under the hood
Managed-settings validation failures now carry a machine-readable reason and policyUnreadable flag, and unreadable policies trigger a dedicated telemetry export.
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