What is the problem you are having with rclone?
Rclone is not able to read from source directory. listing files, listing directories,sync everything is failing.
What is your rclone version (output from rclone version
)
rclone v1.46
Which OS you are using and how many bits (eg Windows 7, 64 bit)
os/arch: linux/amd64
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone ls remote:
rclone lsd remote:
rclone sync source_remote:source_folder target_remote:target_folder
The rclone config contents with secrets removed.
[drive_remote]
type = drive
scope = drive
token =
team_drive =
A log from the command with the -vv
flag
ERROR : : error listing: couldn't list directory:
Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%29%2CnextPageToken&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27root%27+in+parents%29: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
ERROR : : error reading source directory: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&corpora=teamDrive&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%29%2CnextPageToken&includeTeamDriveItems=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%270AKZcEIRXhQ-rUk9PVA%27+in+parents%29+and+%28name%3D%27qvl_input%27%29+and+mimeType%3D%27application%2Fvnd.google-apps.folder%27&supportsTeamDrives=true&teamDriveId=: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
}