Closed ghost closed 3 years ago
This error is pretty unspecific.
It would be interesting to see a proper reprex with session info (package versions), i.e. real code and real output:
https://googlesheets4.tidyverse.org/articles/articles/googlesheets4-reprex.html
In parallel, here are general troubleshooting tips for gargle-using packages (which include googlesheets4):
Closing due to lack of follow up.
Thanks for this lovely package. Today drive_auth() is unable to get google credentials even after authentication is completed. I can see Authenctication Complete in the console and browser as well. My code has been working for last 6 months, today it suddenly stopped working. I am using R version 4.0.5 and googlesheets4 0.3 version
> Error: 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.