Uploading files to Gemini

I’m trying to send a prompt to Gemini but I always get the same error:
I am sorry, I do not have access to the internet and therefore cannot open or access the provided file.

I know the issue is caused by the prompt sending the URL instead of the actual file, but I can’t figure out how to include the actual file. I’ve tried with Google Drive, Forms, and Airtable (I can use either method) to collect the file but I can’t figure out how to get the file into the Gemini prompt.

Any help is appreciated!

Hello @MarkR,
When you use the URL it always says that same error again.
You need to give the actual downloaded file.

→ Fetch the file details from your platform(GDrive, Airtable etc).
→ Use Get a File from Http module.

I’ve tried that new Gemini Module.
When using it with the image, you need to use Gemini “Upload a file” before using the Create Completion action.

During my testing, I’ve not had success because my downloaded file always returns this error

mimeType parameter with value application/octet-stream, which is not supported. Update the mimeType and try again.

Try it if it works for you.

Otherwise, use another module called Google Vertex AI https://www.make.com/en/help/app/google-vertex-ai
I’ve already used this for image analysis. It works fine. However, to enable the required services, you must use a paid Google Cloud account.


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions :white_check_mark: and give :+1: If you need expert help or have questions? Contact or comment below! :point_down:

I started facing this problem this week, everything worked correctly when uploading a video to Gemini upload a file. But after a few days, the generated myme type started to appear different and, as a result, Gemini does not process the video analysis.
Does anyone know how to solve the problem? The original video is in mp4 but I’ve tried other formats

Mime Type: application/octet-stream