-
Notifications
You must be signed in to change notification settings - Fork 146
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_scope: Empty or missing scope not allowed #83
Comments
Seems related: googleapis/google-auth-library-python#217 |
The "service" route does already have the scopes set ( https://github.com/dask/gcsfs/blob/master/gcsfs/core.py#L370 ), but - shooting in the dark here - I can add it also to the file-based auth. I wouldn't have thought that made a difference, but you could try |
Ok, I will try that branch later today or tomorrow. Do you recommend a different method of authentication? |
If you have a .json file, you can always pass that directly to the constructor In the past, google-default and cloud auth mechanisms have worked without problem. If you give no indication to |
I am not on GCE. I am on pleiades. I will try passing the token explicity. |
It looks like specifying the However, it would be great if gcsfs would read the |
That's an impressive cluster! I agree that |
OK, so what I understand is that |
I just created / downloaded the credentials yesterday. How can they be "old" already? |
I don't know :( It's hard to try to say what the google auth library actually did for your case. |
After overcoming #82, I am on to a new error.
I set my
GOOGLE_APPLICATION_CREDENTIALS
to point to an appropriate .json file. I verified that the config is working with the following codeNow I am trying to do the same thing from gcsfs. I get an error
invalid_scope: Empty or missing scope not allowed
.I am using the latest gcsfs master, installed from pip + git.
The text was updated successfully, but these errors were encountered: