{"version":"2.1.337","anchor":"auth-status-message-gains-error-source-field","canonical_anchor":"auth-status-message-gains-error-source-field","heading":"Credential helper errors now say which helper failed","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/auth-status-message-gains-error-source-field","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Credential helper errors now say which helper failed\n\napiKeyHelper errors are tagged with their source, and the SDK auth_status message gains an error_source field naming the failing helper\n\n**What**\n\nSome settings let you run your own command to get or refresh credentials. When one of these commands fails, Claude Code now records which setting it came from:\n\n- `apiKeyHelper` failures: the error is now stored with a second value, `\"apiKeyHelper\"`, naming where it came from. Before, only the message `apiKeyHelper failed: ...` was stored.\n\n- `error_source`: the SDK `auth_status` message gains this optional field. The SDK is the toolkit developers use to run Claude Code from their own software. The field is one of `apiKeyHelper`, `awsAuthRefresh` or `gcpAuthRefresh`. Before, `auth_status` had only `isAuthenticating`, `output` and `error`.\n\n**Why**\n\nSoftware built on the SDK can now tell which credential command failed, instead of guessing from the error text.\n\n- Area: SDK\n- Names: `auth_status`, `error_source`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}