File Upload Feature (Files API) Failing in Gemini API - Affecting Production

It seems that the file upload function (Files API / upload_file) in the Gemini API is currently unavailable.

We are suddenly experiencing persistent errors when attempting to upload files/media for processing. This issue seems to be on Google’s side, and it is directly causing malfunctions in our production application.

Is anyone else experiencing the same issue today?

If any Google admins or community members have a workaround or updates on a fix, please let us know as soon as possible. We use this for our business and urgently need to get it back up and running.

Thanks in advance for your help!

Yep, same issue here. Haven’t found a workaround yet. Guess there is none…

We had same issue and there is a workaround,

If you are using a context cache,

I had this issue and when I did file.upload

And the i pointed context cache to the uri

This failed when the 503 file upload issue

The workaround is to push the file bytes directly into the cache without file.upload

Using types.Part.from_bytes

This has a 20mb maximum cap

Thanks Daniel, outage is over for me, but good to know that there is some sort of workaround.

stopped working for me in the past couple of hours

I’m also affected, currently stuck because of this

Hello! I am having issues with this as well… my entire production application has been throwing FileState.FAILED all day… please fix this. Getting with support tickets.

Same here. It seems like started from 6 hours ago

mines been down all day. hopefully a fix will come soon

I am still having this issue. Anyone else still having the problem?

Hello Everyone,
Can you share the specific error message you are getting?