{"version":"2.1.326","anchor":"print-mode-shows-api-retry-progress-and-prints-errors-to-std","canonical_anchor":"print-mode-shows-api-retry-progress-and-prints-errors-to-std","heading":"claude -p shows when it is retrying the API","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/print-mode-shows-api-retry-progress-and-prints-errors-to-std","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### `claude -p` shows when it is retrying the API\n\nIn print mode, retries now show a dim progress line, and errors also appear in the terminal when output goes to a file\n\n**What**\n\nPrint mode (`claude -p`) runs one request and prints the answer. When it runs in a terminal and has to retry a request to the API, it now writes a dim line to stderr, the error channel that shows in your terminal even when the normal output goes to a file. The line reads like \"No response from the API after \u2026 \u00b7 retrying, waiting up to \u2026\" or \"\u2026 \u00b7 retrying in \u2026 \u00b7 attempt N of M\".\n\nErrors are now also written to stderr when stderr is a terminal and the normal output is not. None of this applies to `stream-json` output.\n\n**Why**\n\nA long retry no longer looks like Claude Code has frozen.\n\n- Area: Elsewhere\n- Names: `claude -p`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}