Unable to create AI Studio API Key (permission denied)

When trying to cerate a new API key in AI Studio, it say permission denined

I am trying to create this from my work account. If I try to do the same using my personal account, it seems to work as expected.

Are there any permissions that need to be enabled via Google Console?

3 Likes

I’m having a different problem

I’m having the same issue - did you manage to figure it out?

it is some bug from google’s end. try opening from this link → Google AI Studio | Gemini API | Google for Developers  |  Google AI for Developers

I still get the same error.

Not really. I instead used API Key from Cloud Console and enabled Gemini from there.

This takes me to the landing page of AI Studio. Didn’t help.

Gemini API keys are linked to the project,

you should have access to the project that you are trying to create the key for.
make sure your email/account have access to the project and the corresponding IAM polocies to allow the creation of the key from your account