{"version":"2.1.329","anchor":"auth-failures-explain-org-gateway-and-device-policy-cases","canonical_anchor":"auth-failures-explain-org-gateway-and-device-policy-cases","heading":"Clearer errors when no login is usable in an organization setup","tier":"notice","area":"Auth","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/auth-failures-explain-org-gateway-and-device-policy-cases","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Clearer errors when no login is usable in an organization setup\n\nWhen no login works, the error now explains a set-aside cloud provider or a device policy, and suggests \/login for the latter\n\n**What**\n\nWhen a session has no login it can use, the error used to change only depending on whether the key came from `ANTHROPIC_API_KEY` or a key helper script. It now also explains two more cases:\n\n- a cloud provider that has been set aside\n\n- a device policy, set by your administrator on the machine, that overrides your organization sign-in\n\nIn the device-policy case it tells you to run `\/login` to use an account of your own.\n\n**Why**\n\nPeople on managed setups get a clearer reason for the failure and, in the device-policy case, a way forward.\n\n- Area: Auth\n- Names: `ANTHROPIC_API_KEY`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}