{"version":"2.1.334","anchor":"refusals-reported-distinctly-in-the-api-error-reason","canonical_anchor":"refusals-reported-distinctly-in-the-api-error-reason","heading":"Refusals are now recorded separately from other API errors","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/refusals-reported-distinctly-in-the-api-error-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Refusals are now recorded separately from other API errors\n\nClaude Code's error reporting now labels a model refusal as a refusal instead of a general API error type\n\n**What**\n\nWhen an API request ends because the model refused, Claude Code's error reporting now records the reason as a refusal. Before, it used the general error type, or \"unknown\".\n\n**Why**\n\nUsage data can now tell refusals apart from other API errors. Nothing changes in what you see.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}