[BUG] "Unsupported File Type" Eror panel can not be dismissed

Open 💬 0 comments Opened Jun 24, 2026 by take-action-swva

Preflight Checklist

  • [x] 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?

When I tried to directly attach a docx document, I got the attached error. There is no way to dismiss it.

<img width="362" height="243" alt="Image" src="https://github.com/user-attachments/assets/8b582c70-9830-4392-a695-adb123881ed5" />

What Should Happen?

Error should display with an x the user can click to close or dismiss it.

Error Messages/Logs

Unsupported file type:
VA9_Democratic_Primar_Comparison_v3.dodx.
Supported types: images (PNG, JPG, GIF, WebP), text files, and PDFs. To reference unsupported files, please include its absolute file path in your prompt (using @ for paths inside your working directory, and entering the path for files outside).

Steps to Reproduce

Attach a .docx, banner appears, no way to close it.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code VS Code extension v2.1.187

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗