Unable to generate Gemini API key – "The request is suspicious"

Hello,

I am unable to generate a Gemini API key in Google AI Studio.

Whenever I click “Create API Key”, I receive the following error:

“Failed to generate API key, The request is suspicious. Please try again.”

I have already tried the following troubleshooting steps:

  • Tried a different network, including a mobile hotspot
  • Created a completely new Google Cloud project
  • Imported the new project into Google AI Studio
  • Enabled the Gemini API (generativelanguage.googleapis.com)
  • Created a service account in the Google Cloud project
  • Enabled 2-Step Verification (2FA) on my Google account
  • Retried API key creation with the new project

However, the exact same “The request is suspicious” error occurs even with the newly created project.

Since the issue persists across different networks and different Google Cloud projects, it appears that my Google account may be incorrectly blocked or flagged by the security/trust system.

Could you please review my account/project access or advise how I can request a manual review?

Thank you.

Hello @DYPARK ,

I have DM’ed you for more details.

Hello,

I’m experiencing exactly the same problem. I’ve already verified my age, my phone number, enabled 2-Factor Verification, enabled a device passkey for my Google account, imported my existing Cloud project and waited a couple of days. How do I proceed from here?

Thanks.

Hello @oasisfan ,

DM’ed you for more details.

same problem here,
I cannot create a Gemini API key. I repeatedly receive “Failed to generate API key — The request is suspicious.” I have tried multiple Google accounts and still cannot create a key. Please check whether my account/API access has been restricted and advise on manual review.

I cannot create a Gemini API key in Google AI Studio. The error is: “Failed to generate API key, The request is suspicious. Please try again.”

I have not received any identity-verification or security notifications. I would like to remain on the free tier. Could you please advise how to request a review and resolve this issue?