Gemini Generate Content fails: Drive PDF arrives as application/octet-stream
Status: Awaiting reply · Asked by FAST Restoration on · 0 views
In a Pabbly Connect workflow, a resume PDF is downloaded from Google Drive and passed to the Google AI Studio (Gemini) Upload File / Generate Content steps. The file arrives labeled application/octet-stream instead of application/pdf, so the Gemini step fails with a 400 error for unsupported MIME type. This was raised before in thread 222754, which is now closed. Is there any way in Pabbly Connect to set or preserve the correct content type when a file is downloaded from Google Drive or uploaded to Gemini? Or is there a recommended pattern for passing Drive PDFs to Gemini so the file type is recognized? Any guidance is appreciated.