{"version":"2.1.326","anchor":"download-size-limit-error-now-has-a-code-and-uses-the-callba","canonical_anchor":"download-size-limit-error-now-has-a-code-and-uses-the-callba","heading":"Download failures now say whether the file was too large or failed its checksum","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/download-size-limit-error-now-has-a-code-and-uses-the-callba","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Download failures now say whether the file was too large or failed its checksum\n\nOversized signed downloads now fail with download_oversize, and app-bundle download failures report download_checksum or download_oversize\n\n**What**\n\nWhen Claude Code downloads files, failures now carry a more specific error class:\n\n- A signed download that goes over its allowed size now fails with the code `download_oversize`, and the error goes to the download stream's own error handler. Before, it went to a different function.\n\n- A failed app-bundle download now reports `download_checksum` (the file did not match its expected fingerprint) or `download_oversize` when the underlying error has one of those codes. Any other failure is still reported as `download`. Before, every failure was reported as `download`.\n\n**Why**\n\nAn oversized download should now fail cleanly, and the error tells you whether the file was too big, was corrupted, or failed for another reason.\n\n- Area: Elsewhere\n- Names: `download_oversize`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}