You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use gupload from a cron to upload a backup zip to Google Drive.
After a period where it worked fine, it started to fail with this error message:
$ gupload daily-backup.tar.gz -c Backups
------------------------------------------------[ Checking credentials.. ]------------------------------------------------
=====================================[ Error: Something went wrong, printing error. ]=====================================
{
"error": "invalid_grant",
"error_description": "Token has been expired or revoked."
}
If refresh token has expired, then use --oauth-refetch-refresh-token to refetch refresh token, if the error is not clear make a issue on github repository.
==========================================[ Error: Credentials checking failed ]==========================================
I have a refresh token in the .googledrive.conf but I understand it has expired.
How do I use the option --oauth-refetch-refresh-token?
I tried it in several ways and it seems that this option does not exist.
How do I refech the refresh token?
$ gupload daily-backup.tar.gz --oauth-refetch-refresh-token
gupload: --oauth-refetch-refresh-token: Unknown option
No valid arguments provided, use -h/--help flag to see usage.
The text was updated successfully, but these errors were encountered:
I use gupload from a cron to upload a backup zip to Google Drive.
After a period where it worked fine, it started to fail with this error message:
I have a refresh token in the
.googledrive.conf
but I understand it has expired.How do I use the option
--oauth-refetch-refresh-token
?I tried it in several ways and it seems that this option does not exist.
How do I refech the refresh token?
The text was updated successfully, but these errors were encountered: