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

Unable to list files in shared folder using service account #463

Open
valkx opened this issue Sep 25, 2024 · 0 comments
Open

Unable to list files in shared folder using service account #463

valkx opened this issue Sep 25, 2024 · 0 comments

Comments

@valkx
Copy link

valkx commented Sep 25, 2024

I am trying to list files in a shared folder on a Shared Drive that has been shared with me.

I authenticate with a service account that is given 'Content Manager' permissions on the folder. the folder is a subfolder of the shared drive. Autentication is successful.

When calling drive_ls for this specific folder. drive_ls(as_id(shared_drive_id)) the response is as below (actual drive id's are removed from the response):

Error in map():
ℹ In index: 1.
Caused by error in .f():
! Client error: (404) Not Found
Shared drive not found:
• message: Shared drive not found:
• domain: global
• reason: notFound
• location: driveId
• locationType: parameter

This looks very much like #154 but is different because a service account is used and I keep getting the message shared drive not found, including the shared drive's id, which was not specified in the call to drive_ls.

Any ideas on this?

@valkx valkx changed the title Listing files in shjared folder using service account Listing files in shared folder using service account Sep 25, 2024
@valkx valkx changed the title Listing files in shared folder using service account Unable to list files in shared folder using service account Sep 25, 2024
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

1 participant