{"version":"2.1.333","anchor":"long-context-credits-error-classification","canonical_anchor":"long-context-credits-error-classification","heading":"Long-context credit errors get their own error category","tier":"internal","area":"API Errors","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/long-context-credits-error-classification","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Long-context credit errors get their own error category\n\nAPI errors about long-context credits are now classified as long_context_credits rather than by HTTP status code\n\n**What**\n\nWhen the API returns an error whose message matches long-context credits, Claude Code now classifies it as `long_context_credits`. Before, these errors were grouped only by their HTTP status code.\n\n**Why**\n\nThese errors can now be told apart from other errors with the same status code.\n\n- Area: API Errors\n- Names: `long_context_credits`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}