{"version":"2.1.337","anchor":"auth-status-stream-messages-carry-error-source","canonical_anchor":"auth-status-stream-messages-carry-error-source","heading":"Sign-in status messages for SDK apps now say where an error came from","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/auth-status-stream-messages-carry-error-source","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Sign-in status messages for SDK apps now say where an error came from\n\nThe `auth_status` message sent to SDK apps now includes an `error_source` field saying where a sign-in error came from\n\n**Unclear.** The values `error_source` can take are not known.\n\n**What**\n\nApps built on Claude Code through the SDK (the developer toolkit) receive `auth_status` messages about sign-in. These messages now carry an `error_source` field.\n\n**Why**\n\nAn app can use it to tell where a sign-in error came from and react to it, rather than treating every sign-in failure the same way.\n\n- Area: SDK\n- Names: `auth_status`, `error_source`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}