What is the problem you are having with rclone?
I'm trying to create some remotes to use with service accounts. The problem is that I am not able to list the contents of the shared drive from the second remote onwards even though the settings are pretty much the same. The only difference between the remotes is the service_account_file (*.json). I use the same rclone config contents for another Shared Drive and I have no problem listing the contents of the drive.
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.1
- os/version: ubuntu 16.04
- os/kernel: 4.9.160-armada375 (armv7l)
- os/type: linux
- os/arch: arm
- go/version: go1.17.9
- go/linking: static
- go/tags: none
Which cloud storage system are you using?
Shared Drive (Team Drive)
The command you were trying to run
rclone lsd eprise-sa01:
-1 2022-05-09 23:20:43 -1 backup
rclone lsd eprise-sa02:
2022/06/17 22:00:33 ERROR : : error listing: couldn't list directory: googleapi: Error 404: Shared drive not found: xyxyxyPVA, notFound
2022/06/17 22:00:33 Failed to lsd with 2 errors: last error was: couldn't list directory: googleapi: Error 404: Shared drive not found: xyxyxyPVA, notFound
rclone lsd eprise-sa03:
2022/06/17 22:00:33 ERROR : : error listing: couldn't list directory: googleapi: Error 404:
.
.
.
The rclone config contents with secrets removed.
[eprise-sa01]
type = drive
client_id = xyxyxyomg.apps.googleusercontent.com
client_secret = GOCSPX-xyxyxyxyxyxyxyxyxy
scope = drive
service_account_file = /home/kdantas/sa-json/eprise-sa01.json
team_drive = xyxyxyPVA
root_folder_id =
[eprise-sa02]
type = drive
client_id = xyxyxyomg.apps.googleusercontent.com
client_secret = GOCSPX-xyxyxyxyxyxyxyxyxy
scope = drive
service_account_file = /home/kdantas/sa-json/eprise-sa02.json
team_drive = xyxyxyPVA
root_folder_id =
[eprise-sa03]
.
.
.