Google AI Studio: “Failed to list projects: permission denied” when trying to create an API key

Hello Google AI team,

I am trying to set up Google AI Studio to obtain a Gemini API key for a personal Python desktop assistant project called ALPHA.

However, Google AI Studio displays the following error:

Failed to list projects: permission denied. Please try again.

I cannot list or create projects, so I am unable to generate an API key.

I also encountered this error when testing an API request:

API_KEY_INVALID — API key not valid. Please pass a valid API key.

I understand that this second error may be caused by the lack of a valid API key, so my main issue is the project access and permission error in AI Studio.

  • Country: Chile

  • Network: Mobile internet shared from my phone (hotspot)

  • Provider: WOM

  • Purpose: Personal Python desktop assistant using the Gemini API

  • Interface affected: Google AI Studio, Projects / API Keys

Could you please help me determine why my account cannot list or create projects and how I can obtain a valid Gemini API key?

I can provide additional diagnostic information privately if needed.

Thank you for your help.

Hello @Alan_Ruben_Olivera ,

Please try the below steps:

  • Turn off any VPN, proxy or iCloud Private Relay, and connect directly.

  • Make sure you’re 18 or older and have verified your age.

  • Try a different network, for example your phone’s hotspot.

If none of these help, please share the details using this form so we can investigate further: Gemini API & Google AI Studio Location Issue Report