-
Notifications
You must be signed in to change notification settings - Fork 303
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
Setting GOOGLE_APPLICATION_CREDENTIALS to empty string throws an error #161
Comments
I'm inclined to say this is "working as intended", but maybe I'm missing some subtlety. Why can't they just unset / never set the env. var. in their environment? |
Do we want to be throwing an IOError in this case or a DefaultCredentialsError? If an IOError, we should document that in the |
I think it should probs be a DefaultCredentialsError with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would expect an empty environment variable to act identically to an unset environment variable.
Reported by @parthea
If I set my GOOGLE_APPLICATION_CREDENTIALS environment variable to an empty string, I receive an exception instead of the local user web authentication flow. Is it expected?
The text was updated successfully, but these errors were encountered: