429 Generated Image Errors within Preview environment of Google AI Studio Project

Hi,

With all of the recent issues and updates going on I have patiently waited things out, but with the announcement of AI Studios upgrades I wanted to keep working on my app.

To be safe, I created a copy of my project, and using my projects paid API have been making some updates today. However, when testing my app in the preview environment I suddenly keep getting 429 Errors.

If I go to my hosted application on Google Cloud Run, it does not give me any such errors.

Why is this happening in AI Studio when its the same API?

I’m on a paid cloud run account, tier 1. I have requested increasing to tier 2 twice, and I am nowhere near my rate limits.

I can also make changes TO the application. I just cannot use the image generator in the preview function anymore today without these errors.

I’m now getting a new error message -

“Failed to generate image. RATE_LIMIT_EXCEEDED: The AI is currently handling too many requests. Please wait a moment or upgrade to a personal API key if you are a MAX user.”

It seems like AI Studio’s preview environment is not using my APIs ?

I believe I may have found the solution.

From another forum post. In the Secrets settings tab, it was still showing as free tier. I changed this to my paid API and now it is working.