{"version":"2.1.314","anchor":"sdkheadless-login-now-blocked-with-explicit-messages-when-m","canonical_anchor":"sdkheadless-login-now-blocked-with-explicit-messages-when-m","heading":"Sign-in is refused with a clear message when organization settings cannot load","tier":"notice","area":"Managed Settings","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/sdkheadless-login-now-blocked-with-explicit-messages-when-m","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Sign-in is refused with a clear message when organization settings cannot load\n\nIn SDK and headless use, sign-in now stops with one of three explicit messages when your organization's managed settings are unavailable\n\n**What**\n\nThe SDK lets programs drive Claude Code, and headless use runs it without the interactive screen. In both, signing in now stops with an explicit message when your organization's managed settings, which an administrator sets for everyone, cannot be used. There are three cases:\n\n- Refused: \"Login blocked: Anthropic refused this organization's policy or managed settings for this sign-in\"\n\n- Not loaded in the mode Claude Code was launched in\n\n- Unavailable: \"Login blocked: your organization's policy and managed settings could not be loaded, and the organization requires them before a session can start.\"\n\n**Why**\n\nPeople in organizations that manage Claude Code centrally now get a clear reason when sign-in fails, instead of a silent failure.\n\n- Area: Managed Settings\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}