Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

R Code Issue: Cannot authorise Google Drive credentials [closed]

$
0
0

I am running a script which requires authorised credentials for Google Drive

Using drive_auth() or trying to force the token with drive_auth(email = ***********@gmail.com) isn't allowing the popup to Google to give access permissions.

The error message is

Error in `drive_auth()`:! Can't get Google credentialsℹ Are you running googledrive in a non-interactive session? Consider:• `drive_deauth()` to prevent the attempt to get credentials• Call `drive_auth()` directly with all necessary specificsℹ See gargle's "Non-interactive auth" vignette for more details:ℹ https://gargle.r-lib.org/articles/non-interactive-auth.htmlRun `rlang::last_error()` to see where the error occurred.

I am guessing I need to clear the cache for R, however I haven't found any solution yet.I tried drive_deauth() also and it gave the same error.

Any help would be brilliant.

Thank you


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>