-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bigquery-profile.md #626
Conversation
Adding https://www.googleapis.com/auth/iam.test scope to gcloud auth application-default login to get rid of the following error ```shell These credentials will be used by any library that requests Application Default Credentials (ADC). /Users/sova/google-cloud-sdk/lib/third_party/google/auth/_default.py:69: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/ warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING) ERROR: (gcloud.auth.application-default.login) User [*********] does not have permission to access projects instance [********:testIamPermissions] (or it may not exist): Request had insufficient authentication scopes ```
@VasiliiSurov I don't see |
@jtcohen6 Am I the only one who's getting this notification? Just updated SDK and got the same message.
|
Ah you're right, I was using an old version of When I try to run with the new scopes, however, I get this error:
That's definitely the scope listed on this page, but I can't find it anywhere on the main page for OAuth2 scopes. |
@jtcohen6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Ok, that worked for me. Let's remove the space from the copy-paste code, and then this LGTM
Co-authored-by: Jeremy Cohen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @VasiliiSurov!
REPO SYNC - Public to Private
Adding https://www.googleapis.com/auth/iam.test scope to gcloud auth application-default login to get rid of the following error