#I wanted to test on my own environment,

1 messages · Page 1 of 1 (latest)

keen coral
#

How are you authenticating and logging in from your env? What is your env?

gleaming tree
keen coral
#

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

gleaming tree
#

I have cli installed, it opened browser and there scope error

keen coral
#

Did you setup and configure your project and oauth in Google Cloud?

gleaming tree
#

Yes. I added generative ai support, I added my email into delevopers list, I added Desktop application

keen coral
#

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?

gleaming tree
#

I get this error in browser in log in scree

keen coral
#

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

gleaming tree
#

Okey. I will review

keen coral
#

Are you following a guide? If so which one?