Can't login with individual Gemini Code Assist version

Hi,

The issue I am facing is related to logging into Gemini Code Assist in Visual Studio Code. When I attempt to log in using my personal account, which is not associated with any organization, it asks me to link it to a project on Google Cloud.

I have checked all the services linked to my account and confirmed that it is not associated with any organization. I even tried logging in with a completely different personal account, reinstalling the extension, and attempting to log in through a different browser, but none of these solutions worked. It still assumes that I am using Gemini Standard or Gemini Enterprise. Is there any way to use the individual version and bypass this issue?

Hi @Hussam-BI ,

Welcome to Google Cloud Community!

When you install Cloud Code, the Gemini Code Assist extension is automatically included because Cloud Code has automatic dependency management enabled. To potentially resolve the login issue with Gemini Code Assist, try customizing the version of the Cloud Code dependencies. Specifically, this involves turning off auto-updates and manually specifying a previous version here (ex. downgrading from version 2.27.0 to 2.26.1). After making these changes, try signing in to Cloud Code again.

If your sign-in attempts keep timing out, see the Sign-in attempts keep timing out known issue for more information on troubleshooting. Also, review the Set up Gemini Code Assist Standard and Enterprise instructions.

You may check the Gemini Code Assist FAQ’s this page shows frequently asked questions about Gemini Code Assist for individuals.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

request to https://oauth2.googleapis.com/token failed, reason: getaddrinfo EAI_AGAIN oauth2.googleapis.com

I have this error

Error: The authentication flow did not complete successfully, and Gemini Code Assist is not authorized to access your account.