Persistent File Conversion Failure When Uploading Documents to AI Studio

Hello Google AI Team,

I am writing to report a persistent issue I am encountering in Google AI Studio. When I attempt to upload a document file (such as a PDF or DOCX) to extract its text and add it to a prompt, the file conversion process consistently fails.

Steps to Reproduce:

  1. Navigate to the Google AI Studio interface and create a new prompt.

  2. Click on the file attachment icon to upload a file and add its content to the prompt.

  3. Select a local document from my computer.

  4. The interface shows the file with a “Converting” status indicator.

  5. After a few moments, the process terminates.

Expected Behavior:

The document should be successfully converted, and its text content should be extracted and populated into the prompt input area, ready for use with the model.

Actual Behavior:

The conversion process fails, and a notification appears at the bottom of the screen with the error message: “Failed to convert file.” No text is extracted or added to the prompt. This issue occurs repeatedly, preventing me from using local documents as context for my prompts.

This appears to be a problem with the backend file processing service. Any assistance or information on a potential fix would be greatly appreciated as this is a critical feature for my workflow.

Thank you for your time and attention to this matter.

Hello,

I tried to reproduce your issue, it worked fine for PDF, but unfortunately docx documents type is not supported yet.

Please do let me know if you are still this issue with PDF files.