You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Python, Is it possible to use just the JSON authentication credentials instead of a declaring the path to the file the contains the JSON, like so:
I can do this technique in Node, but I am having trouble figuring out how to do the JSON only initialization in Python. When I use the service account technique like so:
google.auth.exceptions.RefreshError: ('invalid_scope: Empty or missing scope not allowed.', '{\n "error" : "invalid_scope",\n "error_description" : "Empty or missing scope not allowed."\n}')
The JSON in question works fine when declared using a file path.
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
It's worth noting that if you set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a file containing your JSON key, then you will automatically get scoped credentials via:
Using Python, Is it possible to use just the JSON authentication credentials instead of a declaring the path to the file the contains the JSON, like so:
I can do this technique in Node, but I am having trouble figuring out how to do the JSON only initialization in Python. When I use the
service account
technique like so:gives me an error:
The JSON in question works fine when declared using a file path.
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: