Skip to content
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

Invalid grant / bigquery gcloud auth #227

Closed
paulirish opened this issue Aug 12, 2024 · 6 comments · Fixed by #229
Closed

Invalid grant / bigquery gcloud auth #227

paulirish opened this issue Aug 12, 2024 · 6 comments · Fixed by #229
Labels

Comments

@paulirish
Copy link
Collaborator

I'm trying to get authenticated to update the bigquery but running into some challenges.

Readme indicates using gcp-credentials but that filename isn't supported anymore. But.. even then.. I'm not sure this approach is preferred.

@Nigui @Kporal what approach did yall use most recently?

I'm getting the farthest by creating a new KEY with my service account.. downloading that json. then

GOOGLE_APPLICATION_CREDENTIALS=thatseviceaccountkeyfile.json  node bin/automated-update.js

But still facing some permission challenges. I want to figure out the supported path so we can update the documentation.

@patrickhulce
Copy link
Owner

Thanks Paul :)

The GOOGLE_APPLICATION_CREDENTIALS path you've noted should work. We don't do anything fancy here with auth, just invoke the GCloud SDK which looks for default creds.

What permissions errors are you getting? Authentication? Query authorization? Write authorization?

@paulirish
Copy link
Collaborator Author

Was getting invalid grant. mostly fixed with the env variable as i noted.. now i'm at

image

this seems to be related to #224

@patrickhulce
Copy link
Owner

Ah, I haven't fully run through with #224 yet, could have broken the pipeline :/

@Nigui
Copy link
Contributor

Nigui commented Aug 26, 2024

Hello, sorry for the late answer.
Did you found a fix for this "empty schema" issue yet? If not, I'll have a look and come back with it.
Sorry again for that break.

@paulirish
Copy link
Collaborator Author

Did you found a fix for this "empty schema" issue yet?

I haven't found a fix no. I was running with the original lighthouse-infrastructure GCP project fwiw.

Sorry again for that break.

All good. :)

Copy link

🎉 This issue has been resolved in version 0.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants