{"version":"2.1.336","anchor":"held-report-repeats-an-earlier-usage-limit-error-result","canonical_anchor":"held-report-repeats-an-earlier-usage-limit-error-result","heading":"Non-interactive runs report a usage-limit error instead of an empty success","tier":"notice","area":"Headless","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/held-report-repeats-an-earlier-usage-limit-error-result","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Non-interactive runs report a usage-limit error instead of an empty success\n\nWhen a run without the interactive screen ends after hitting a usage limit, Claude Code now reports that error instead of an empty successful result\n\n**What**\n\nWhen Claude Code runs without its interactive screen, for example from a script, it reports a final result at the end. If an earlier turn failed because of a usage limit, the final result could come out as an empty success. Claude Code now turns that empty result into an error that carries the earlier usage-limit error's details. This happens only when input has finished and the run is set to repeat usage-limit alerts.\n\n**Why**\n\nScripts and tools that read the final result now see the real usage-limit error, not a success with nothing in it.\n\n- Area: Headless\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}