Hi, it seems like my Google Drive key keeps reaching the expiry date and then it stops working. How can I prevent this?
I tried using the template but it says that I can't post more than 2 links.
Config:
[gdrive]
type = drive
scope = drive
client_id = [REDACTED]
client_secret = [REDACTED]
token = {"access_token":"[REDACTED]","token_type":"Bearer","refresh_token":"[REDACTED]","expiry":"2021-03-26T16:01:57.1583981+01:00"}
Rclone version:
rclone v1.53.3
- os/arch: windows/amd64
- go version: go1.15.5
Service: Google Drive
Windows 10, 64 bits
Command:
2021/04/07 19:50:45 Failed to create file system for "gdrive:\\Personal\\Backups\\bp_2021_04_07_19_50": 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 gdrive:": oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"