-
Notifications
You must be signed in to change notification settings - Fork 52
Description
When using RStudio, package googlesheets4 I now receive this error message.
'Error in gs4_auth()
:
! Can't get Google credentials.
ℹ Are you running googlesheets4 in a non-interactive session? Consider:
• Call gs4_deauth()
to prevent the attempt to get credentials.
• Call gs4_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.html
Backtrace:
▆
- └─googlesheets4::gs4_auth()
Run rlang::last_trace(drop = FALSE) to see 3 hidden frames.
rlang::last_trace(drop = FALSE)
<error/googlesheets4_error>
Error ings4_auth()
:
! Can't get Google credentials.
ℹ Are you running googlesheets4 in a non-interactive session? Consider:
• Callgs4_deauth()
to prevent the attempt to get credentials.
• Callgs4_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.html
Backtrace:
▆
- └─googlesheets4::gs4_auth()
- └─googlesheets4:::gs4_abort(...)
-
└─cli::cli_abort(...)
-
└─rlang::abort(...)`
I use this R script frequently and this was working perfectly for me one week ago. I have read similar posts in the past but so far I've had no luck resolving the problem.
Since receiving this error I have only been able to open the browser once using gs4_auth()
and a Google error message appeared: Access blocked: Tidyverse API Packages request is invalid.
Has something changed with Google's security lately or has anyone else experienced this error today?