#I wanted to test on my own environment,
1 messages · Page 1 of 1 (latest)
I am using windows cmd and loggin in using this command:
!gcloud auth application-default login --client-id-file client_secret.json --scopes='https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/generative-language.tuning'
Is that a copy paste? Try this. You have at least one typo
gcloud auth application-default login --client-id-file=client_secret.json --scopes='https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/generative-language.tuning'```
If you have gcloud cli installed and setup correctly then it should open a browser and go through the auth process
I have cli installed, it opened browser and there scope error
Did you setup and configure your project and oauth in Google Cloud?
Yes. I added generative ai support, I added my email into delevopers list, I added Desktop application
When you say scope error, when or where are you getting that error? You stated that everything is installed, configured, and you've gone through the auth process. Where exactly is it failing?
Can you review the setup process and make sure the project, api, oauth, etc are setup correctly? Does "Learn more about this error" or "error details" provide any more insights.
If you run gcloud info does it have what you would expect to see in the configuration
Okey. I will review
Are you following a guide? If so which one?