-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
I am currently using googlesheets in production and want to switch now to googlesheets4, but the auth method is giving me a hard time.
Previously i authed through a .rds file where my google token was stored. Using googlesheets4 now i auth via my mail sheets_auth(email="[email protected]")
. It works fine in RStudio but as soon as i run it in a cronjobs via cronR it fails and give me the following error:
Fehler: 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.
I tried to use OOB, which didnt worked. I tried to auth via service account and token in a json file. Didnt worked..
Metadata
Metadata
Assignees
Labels
No labels