Cannot create Gemini API Key - Failed to generate API key: permission denied

This is pretty frustrating. How come there’s 0 documentation about this issue and 0 answers from google across 5 different threads asking exactly the same thing?

Google dropped the ball hard on this one.

Before you ask:
Yes, gemini API is enabled for all my projects. Yes, I’m the owner of all my projects. Yes, it’s available in my country.

1 Like

Just bumping this for visibility.

Hi @Akis_M ,

Apologies for the delay. The team is aware of the issue, as some users have experienced similar problems. We have escalated the matter, and our team is actively working on it. We will provide an update as soon as we have more information.
Let me know if you’d like any changes!

Thanks, will be looking forward to an update. Is there an ETA?

Enable the recommended APIs here would do.

Nope, that does absolutely nothing. They’re already enabled.

Okay, I can only share that I did two things and it works now.

  1. I enabled the apis indicated above, they have a recommended set and I clicked to enable all. I also search for AI and enable all services that looks like related.
  2. Previously I used up my project quota, so I applied to raise the quota.