When using the v3 of Google Drive API for listing files I get either no results or an incomplete list of results when querying a team drive content.
I've double-checked:
- the team drive permissions for the service user I am using
- I am setting the
setSupportsTeamDrives
andsetIncludeTeamDriveItems
parameters - I am setting the
setPageSize
explicitly and am using the paging mechanism withsetPageToken
andgetNextPageToken
Yet, the call to GoogleApiClient.drive.files.list....execute()
succeeds, but returns too little results (when compared to eyeballing).
What could be wrong?
(Note the other question Incomplete Google Drive REST API results for Team Drive files is not a duplicate as the other one is about incomplete "columns", not "rows")