tidyverse / googlesheets4

Google Spreadsheets R API (reboot of the googlesheets package)
https://googlesheets4.tidyverse.org
Other
360 stars 53 forks source link

Authenctication Completed but can't get credentials #225

Closed ghost closed 3 years ago

ghost commented 3 years ago

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.

jennybc commented 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):

https://gargle.r-lib.org/articles/troubleshooting.html

jennybc commented 3 years ago

Closing due to lack of follow up.