I've been using rclone to upload files to a list of Google Drive accounts, which was working perfectly and then just stopped working throwing the following error:
ERROR : : error reading destination directory: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cm
28name%3D%27Test%27%29+and+mimeType%3D%27application%2Fvnd.google-apps.folder%27: oauth2: cannot fetch token: 400 Bad Request
At C:\RClone\CSVCopy.ps1:11 char:1
- rclone -v --drive-impersonate $userName copy $path gdrive:Test --filter-from "C: ...
+ CategoryInfo : NotSpecified: (2019/08/02 11:4...400 Bad Request:String) , RemoteException + FullyQualifiedErrorId : NativeCommandError
"error_description": "Invalid impersonation \u0026quot;sub\u0026quot; field."
I've tried re-creating the remote using the same service account file and also creating a new service account file, both of which haven't done the trick.
Any help would be much appreciated, rclone has been an invaluable tool recently!
Many thanks in advance