-
Notifications
You must be signed in to change notification settings - Fork 165
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
Vertex "Could not resolve API token from the environment" #586
Comments
I downgraded to the previous version and it worked. Hopefully not a wide spread Issue. |
Hey @kkhangv, sorry about this, can you share more details on how you're authenticating? Where is that error coming from - is there a stack trace? Nothing new should be required in the last release but we did change some of our logic around handling google credentials but it was not intentionally breaking. |
Using oauth2: `from google.oauth2 import service_account def get_gcp_credentials() -> tuple[Credentials, str, str]: |
Just hit this as well. Can confirm downgrading to Service account has the "Vertex AI User" role in gcp, and my auth is set up like this:
|
Thanks both, unfortunately I'm struggling to reproduce this but I've merged a change that I think should fix this issue. Would anyone be able to test this out and let me know if it works for you? thanks!
|
Yup that works for me 👍 consider having a separate version number or suffix for the |
Awesome, thanks!
Ah we have a separate PR that includes the version bump: #595 So until that's released (hopefully later today) you can use that branch if you want the version bump
|
|
Amazing. Save lots of people! :) |
The text was updated successfully, but these errors were encountered: