Failed to generate API key: permission denied

when i am trying to generate a key for Gemini I see this message. i have checked if my country is available where it my age is 18 and I also verified it what could be the problem it is not saying anything else then just this message
Failed to generate API key: permission denied.

1 Like

I’m in the same situation; did you manage to resolve it? The official documentation isn’t very helpful

Hey folks,

Which location you guys are based of?? Are you using free tier or trying to create API key under some project??