Login Failed: "Ensure your Google account is not a Workspace account" Error for a Standard Account
Describe the bug
Failed to login. Ensure your Google account is not a Workspace account.
Message: Request contains an invalid argument.
I am unable to log in using my standard (non-Workspace) Google account. Every time I attempt to sign in, I receive an error message stating that my account should not be a Workspace account and that the request contains an invalid argument. My account is a personal @gmail.com account and has never been associated with Google Workspace.
The same thing happens with the Gemini Code Assist plugin on Jetbrains
Update: Please react with a 👍 below instead of adding another "same problem" comment.
Additional context
I encountered the same problem. I installed Docker Engine within WSL on Windows and opened the shell environment in the container through VS Code Dev Container. I have installed the xdg-utils tool, and when executing gemini, browser opens, but the screen always shows the following error:
Failed to login. Ensure your Google account is not a Workspace account.
Message: Request contains an invalid argument.
Same for me!
In browser:
Gemini Code Assist and the Gemini CLI are now authorized to access your account
The authentication with Gemini Code Assist, Cloud Code with Gemini Code Assist, or the Gemini CLI was successful.
In terminal:
Failed to login. Ensure your Google account is not a Workspace account.
Message: Request contains an invalid argument.
Same thing for me. I am getting a successful auth message in the browser but login failure message.
All accounts associated with Google Cloud Platform are classified as Workspace accounts...even without bound payment methods or usage of GCP services, which I think is unreasonable.
The same problem was encountered on mac
The same problem was encountered on linux.
Describe the bug
Failed to login. Ensure your Google account is not a Workspace account. Message: Request contains an invalid argument.I am unable to log in using my standard (non-Workspace) Google account. Every time I attempt to sign in, I receive an error message stating that my account should not be a Workspace account and that the request contains an invalid argument. My account is a personal @gmail.com account and has never been associated with Google Workspace.
Additional context
Same and in browser i see this: Authentication using Gemini Code Assist or Cloud Code with Gemini Code Assist was successful.
But in consol window i see error like U
Unless this is fixed!! we cant test anything
Same problem, macos jetbrains/vscode, all my acoount
Same problem
Same Problem.
Describe the bug
Failed to login. Ensure your Google account is not a Workspace account. Message: Request contains an invalid argument.
I am unable to log in using my workspace Google account. Every time I attempt to sign in, I receive an error message stating that my account should not be a Workspace account and that the request contains an invalid argument.
I have confirmed that logging in via the browser is successful.
Additional context
Same to me,my account is a personal account and has never been associated with Google Workspace
Same problem.
There is some additional information here since it uses Gemini Code Assist for authentication: https://developers.google.com/gemini-code-assist/resources/faqs#gcp-project-requirement.
One thing probably missing there is that if you've ever used that Google account to sign up for Google Cloud then that would also disqualify that account.
same issue
same issue
Same
There is some additional information here since it uses Gemini Code Assist for authentication: https://developers.google.com/gemini-code-assist/resources/faqs#gcp-project-requirement.
One thing probably missing there is that if you've ever used that Google account to sign up for Google Cloud then that would also disqualify that account.
@gsquared94 This is great information! Thanks!
There is some additional information here since it uses Gemini Code Assist for authentication: https://developers.google.com/gemini-code-assist/resources/faqs#gcp-project-requirement.
One thing probably missing there is that if you've ever used that Google account to sign up for Google Cloud then that would also disqualify that account.
Just made a fresh account and still getting the same error
There is some additional information here since it uses Gemini Code Assist for authentication: https://developers.google.com/gemini-code-assist/resources/faqs#gcp-project-requirement.
One thing probably missing there is that if you've ever used that Google account to sign up for Google Cloud then that would also disqualify that account.
TNX, for info. My old personal account wouldn't work, probably because I'd used Google Cloud before. I just created a fresh Google account when the login window popped up, and it worked right away. Hope this helps someone!