Closed Braintelligence closed 6 months ago
Yes, I think this an outdate docs issue. I don't think was actually properly supported. By it
I mean any path that is relative to the root
. ls
(and thus walk
that is using `ls) are expecting an "absolute" path.
I would try to use walk("root")
(and I'll update the docs).
Note, that walk("root")
with a service account will show you files on the service account's drive.
https://stackoverflow.com/questions/14124946/google-drive-service-account-view-files-from-another-account https://stackoverflow.com/questions/28534822/location-of-google-drive-service-account-uploads
To deal with files / directories in your account, you need to use ID of the drive/directory instead of root (it can be found in UI in url), and you need to give permission to a service account to view the files.
Hello everyone,
on trying this code from the documentation:
I run into this error:
The token is definitely working as I have successfully connected via the vanilla package and also the older PyDrive2 API.
Is the documentation outdated?