{"version":"2.1.333","anchor":"structured-output-400422-error-classifier","canonical_anchor":"structured-output-400422-error-classifier","heading":"Structured output errors are now sorted into two kinds","tier":"internal","area":"API Errors","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/structured-output-400422-error-classifier","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Structured output errors are now sorted into two kinds\n\nClaude Code now tells apart a bad output format from a model or provider that does not support structured output\n\n**Unclear.** Whether this classification changes anything a user sees is not known.\n\n**What**\n\nStructured output asks the model to answer in a fixed format. When the API rejects such a request with a 400 or 422 error, Claude Code now sorts it into one of two kinds:\n\n- `schema`: the requested output format was invalid.\n\n- `not_offered`: the model or provider does not support structured output.\n\n**Why**\n\nClaude Code can now tell a mistake in the requested format apart from a model or provider that cannot do structured output at all.\n\n- Area: API Errors\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}