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

Error in gargle_abort_request_failed() #34

Closed
rmathieu25 opened this issue Jun 13, 2022 · 2 comments
Closed

Error in gargle_abort_request_failed() #34

rmathieu25 opened this issue Jun 13, 2022 · 2 comments

Comments

@rmathieu25
Copy link

Hello,

Thank you for this amazing package!

Nevertheless, when I try to upload my .Rmd file to my Google Drive with the upload_file() function, I keep having this error:

Error in `gargle_abort_request_failed()`:
! Client error: (403) Forbidden
Insufficient Permission: Request had insufficient authentication scopes.
• domain: global
• reason: insufficientPermissions
• message: Insufficient Permission: Request had insufficient authentication scopes.```

It seems to me to be a google drive authorization issue but I could not find a way to resolve this issue.

Do you know how to manage this issue?

Thank you in advance

@ClaudioZandonella
Copy link
Owner

Hi @rmathieu25,

thanks for reporting this issue. You are right this is due to google drive authorization.

When authenticating your account the first time, you go through an online procedure.
At one point, a screen similar to the figure below appears.

issue

You need to select all options. In particular, the one highlighted in red gives permission to upload and modify files on googledrive. This is required to allow the package to work.

Please try to authenticate again. To require a new token (restarting the authentication procedure), you need to enter '0' when trackdown asks you which account to use as in the figure below.

Screenshot 2022-06-13 at 20 05 50

Please let me know if this solves the issue.

And again thank you for reporting the issue❤️

@rmathieu25
Copy link
Author

It works perfectly! Thank you very much!

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

2 participants