gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

not being prompted to login via Google nor is it 'seeing' my GEMINI_API_KEY in path on win11 too many requests 429

Open pleabargain opened this issue 1 year ago • 7 comments

What happened?

error saying that i have too many requests 429 not being prompted to login via Google nor is it 'seeing' my GEMINI_API_KEY in path on win11

What did you expect to happen?

prompt me to login via broswer or look at my win11 GEMINI_API_KEY

and then handle my queries

Client information

Image

Login information

neither google account or API on win11 are working

Anything else we need to know?

https://github.com/user-attachments/assets/b3aa9d7e-6bbe-48e1-94da-a8caef23003d

pleabargain avatar Jun 26 '25 09:06 pleabargain

Yes, i'm also getting this, I exported the key into the .env file from a GCP account that I am authenticated in.

I had to switch to Vertex AI to make it work

GOOGLE_GENAI_USE_VERTEXAI=true
GOOGLE_CLOUD_PROJECT = "project-id"
GOOGLE_CLOUD_LOCATION = "europe-west1"

pixjobs avatar Jun 26 '25 09:06 pixjobs

Got the same issue! anybody found a fix for this? I wana try Login with google! and I dont have any paid keys rn which is fine right?

when I choose the Login with google option or Login with API key I just get redirected to the chat interface, It should have redirected me to login with Google page in my default browser? and when I give it a task it just loads and says API Error got status 429 Too Many Requests!

Using Win 11 - Powershell

varshithkarkera avatar Jun 26 '25 12:06 varshithkarkera

Logging in via the browser did eventually did work for me. Keep trying.

pleabargain avatar Jun 26 '25 12:06 pleabargain

Logging in via the browser did eventually did work for me. Keep trying.

How do I do that?

varshithkarkera avatar Jun 26 '25 12:06 varshithkarkera

Logging in via the browser did eventually did work for me. Keep trying.

How do I do that?

GOT IT!

Image

varshithkarkera avatar Jun 26 '25 12:06 varshithkarkera

Looks like most folks on this discussion were able to login, will mark as needing more information, and then stale if no other comments

ptone avatar Jun 26 '25 18:06 ptone

we do have an open issue to track support for headless login #1437

ptone avatar Jun 26 '25 18:06 ptone