Content-Length: 269212 | pFad | http://github.com/googleapis/google-api-python-client/issues/2528
DBdrive_service.files().list()
doesn't return trashed items when used with service account JSON
#2528
Fetched URL: http://github.com/googleapis/google-api-python-client/issues/2528
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
When retrieving files from Google Drive using a service account JSON, the API does not return trashed files that actually are in the
parents
folder(s). This problem does not occur when using default authentication.The service account has Content Manager rights in the concerned folder. The folder is in a shared drive.
See the below code example for reproduction.
Note: There is a workaround ->
('folder_id' in parents or 'folder_id' in parents)
Environment details
google-api-python-client
version:2.154.02.157.0Steps to reproduce
This prints:
The text was updated successfully, but these errors were encountered: