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

Authorisation error #174

Open
ghost opened this issue Jun 10, 2022 · 0 comments
Open

Authorisation error #174

ghost opened this issue Jun 10, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 10, 2022

Enter the authorization code: Traceback (most recent call last):
File "/home/pi/env/bin/google-oauthlib-tool", line 8, in
sys.exit(main())
File "/home/pi/env/lib/python3.7/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/pi/env/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/pi/env/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/env/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/pi/env/lib/python3.7/site-packages/google_auth_oauthlib/tool/main.py", line 108, in main
creds = flow.run_console()
File "/home/pi/env/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 439, in run_console
self.fetch_token(code=code)
File "/home/pi/env/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 300, in fetch_token
return self.oauth2session.fetch_token(self.client_config["token_uri"], **kwargs)
File "/home/pi/env/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 252, in fetch_token
"Please supply either code or " "authorization_response parameters."
ValueError: Please supply either code or authorization_response parameters.

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

No branches or pull requests

0 participants