Stuck - Unable to Generate API Key in Google AI Studio (Permission Denied)

I’m having a persistent issue generating an API key using my company Google Workspace account:

  • Using a company Google Workspace account
  • Have confirmed I have appropriate project permissions:
    • Project Editor role
    • Service Usage Admin
    • All necessary API permissions enabled
  • Tried multiple browsers
  • Billing is set up and active
  • APIs are enabled in Google Cloud Console

Despite having what appear to be full permissions, I keep receiving a “Failed to generate API key: permission denied” error.

Has anyone encountered a similar issue with a company/enterprise account? Any specific steps to resolve this would be greatly appreciated

Hi @Adil_Kamalsha, Welcome to the forum!!

Please check if you have below permissions as well :

Permissions required on GCP project:

apikeys.keys.create

resourcemanager.projects.update

serviceusage.services.enable

They essentially mean: can create api key in project, can update project, can enable services in project.

Thanks

@Govind_Keshari My account does have all these permissions but still not able to create api keys

Can you please confirm your location?? If it’s in available region then i will raise this issue with our engineering team.