I have a command line that I’ve used ever since using rclone to cooy and backup my server to Google drive. Since the update I have been unable to use the command and get "error": "invalid_grant", "error_description": "Token has been expired or revoked."
I was told to use Rclone to do this and used a YouTube command line that has worked for a couple years up until the last update via Homebrew
sudo rclone copy -P --verbose --transfers 5 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --stats-file-name-length 0 /srv/MYSERVERFOLDER/NAME google-drive:
It now returns this
Failed to create file system for "google-drive:": couldn't find root directory ID: Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect google-drive:": oauth2: cannot fetch token: 400 Bad Request Response: { "error": "invalid_grant", "error_description": "Token has been expired or revoked." }
I was thinking of reverting back to the previous version if thats possible? Then seeing if the command line works. Or is this something to do with Google?
Is it also possible to run the same command through Rclone Browser?
This is where I got the command from on youtube
Im no expert just downloaded rclone and followed the video on YouTube and never had trouble till today
How do I fix this? Thanks in advance for any help