Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: #74

Open
xplorer990 opened this issue Jan 29, 2021 · 2 comments

Comments

@xplorer990
Copy link

xplorer990 commented Jan 29, 2021

rclone --drive-service-account-file=/home/username/AutoRclone-master-us/accounts/b2**c0.json ls 0A:

username@DEVICE-NAME:~/AutoRclone-master-us$ rclone --drive-service-account-file=/home/xplorer990/AutoRclone-master-ei/accounts/b2c0.json ls 0A:
2021/01/29 02:07:25 Failed to ls: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
***A, notFound

service accounts are added to source and destination Team Drive and [email protected] and and [email protected].

------- Start AutoRclone log------

2021/01/28 04:54:04 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "--config" "./rclone.conf" "copy" "--drive-server-side-across-configs" "--rc" "--rc-addr=localhost:5572" "-vv" "--ignore-existing" "--tpslimit" "3" "--transfers" "3" "--drive-chunk-size" "32M" "--drive-acknowledge-abuse" "--log-file=log_rclone.txt" "src001:" "dst001:"]
2021/01/28 04:54:04 NOTICE: Serving remote control on http://127.0.0.1:5572/
2021/01/28 04:54:04 DEBUG : Using config file from "/home/username/AutoRclone-master-us/rclone.conf"
2021/01/28 04:54:04 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1
2021/01/28 04:54:04 DEBUG : Creating backend with remote "src001:"
2021/01/28 04:54:04 DEBUG : Creating backend with remote "dst001:"
2021/01/28 04:54:06 ERROR : : error reading source directory: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0A, notFound
2021/01/28 04:54:06 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/28 04:54:06 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/28 04:54:06 INFO : There was nothing to transfer
2021/01/28 04:54:06 ERROR : Attempt 1/3 failed with 1 errors and: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
A, notFound
2021/01/28 04:54:07 ERROR : : error reading source directory: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
A, notFound
2021/01/28 04:54:07 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/28 04:54:07 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/28 04:54:07 INFO : There was nothing to transfer
2021/01/28 04:54:07 ERROR : Attempt 2/3 failed with 1 errors and: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
A, notFound
2021/01/28 04:54:08 ERROR : : error reading source directory: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
A, notFound
2021/01/28 04:54:08 DEBUG : Google drive root '': Waiting for checks to finish
2021/01/28 04:54:08 DEBUG : Google drive root '': Waiting for transfers to finish
2021/01/28 04:54:08 INFO : There was nothing to transfer
2021/01/28 04:54:08 ERROR : Attempt 3/3 failed with 1 errors and: failed to get Team/Shared Drive info: googleapi: Error 404: Shared drive not found: 0
**A, notFound
2021/01/28 04:54:08 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 4.5s

------- End AutoRclone log------

What to do???
Please help!

@mcdull
Copy link

mcdull commented Feb 5, 2021

you need to add permission of both drives into all your accounts or group account.

@xplorer990
Copy link
Author

you need to add permission of both drives into all your accounts or group account.

Thanks a lot! Tried this but didn't work.

https://cloud.google.com/iam/docs/granting-changing-revoking-access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants