[BUG] Claude Code inside vscode cannot open a valid image file (png or jpg) from Google Drive.

Resolved 💬 4 comments Opened Mar 6, 2026 by RichStephens Closed Apr 3, 2026

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?

I was trying to use claude code inside of visual studio code. I am on the latest version of Ubuntu Linux (25.10), and I used the menu below the prompt editor to select "attach file". I selected a valid JPEG (*.jpg) file. The trick was that the file was in my google drive. The program gave me an error saying it was an unsupported file type. When i copied the .jpg file to my home directory, it worked.

The error I received (when it didn't work) was:

<img width="571" height="55" alt="Image" src="https://github.com/user-attachments/assets/51d9b644-626e-4820-a568-db7a9be879dd" />

What Should Happen?

Claude should allow me to attach images from Google Drive.

Error Messages/Logs

See image in description.

Steps to Reproduce

  1. Add a png or jpg (or any other value image type that Claude Code accepts) to your Google Drive.
  2. In claude code window, select the "/" icon below the prompt text window at the bottom.
  3. Select "Attach file..."
  4. Browse to your Google Drive folder and select the image file.
  5. Error message occurs and file is not attached.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.63 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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