[BUG] Final available message generates artifact but fails to produce downloadable document

Resolved 💬 2 comments Opened May 18, 2026 by romsreu Closed May 19, 2026

Preflight Checklist

  • [ ] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

There appears to be an issue when requesting document generation (.docx, .pdf, etc.) on the user's final available message/quota.

What Should Happen?

  • If the request was accepted and generation completed, the downloadable file should still be created and preserved.
  • Export/attachment generation should not fail after the request has already been processed.

Error Messages/Logs

Steps to Reproduce

  1. Use the last available Claude message/quota
  2. Ask Claude to generate a downloadable document
  3. Wait for generation to complete
  4. Observe that the artifact/content appears, but the downloadable file is missing

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.94

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗