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.
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.
P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions and give If you need expert help or have questions? Contact or comment below!
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
I wanted to post on this thread because I ran into the same problem and it stumped me for a couple of days. Also, I contacted Make Support and while they were super helpful they didn’t see the issue at first either.
What I’ve discovered is that the Gemini “Upload a File” module uses the file extension to set the mime type.
If you don’t map the file across and just set a file name like “Transcript” it will give it a mime type of application/octet-stream. And there’s nothing you can do to change that. But if you give it a file name like “Transcript.txt” it will give it a mime time of text/plain or if it’s “Transcript.pdf” it will give it a mime type of application/pdf.
Ridiculously simple to fix…once you know! Hopefully, this saves others a lot of searching and puzzling over how that mime type gets set.