I\'ve been working with the drive SDK for the last few days and previously I was able to request 1000 items on a page using listrequest. Now I\'m only getting 100 files no m
Ok never mind I figured this out. I was requesting all the metadata of each file, which seems to limit the request to 100. I was able to get 1000 per page by requesting only three fields.
EDIT by pinoyyid: This is not the answer. There is nothing that you can do to guarantee that the page will have exactly pageSize
items.
I'm facing the same problem so I've been doing some tests and this is what I've found:
So it seems that depends on how many fields you request and also if one of the fields requested is parents field.
You've misunderstood what pagesize does. It is a maximum value, not an absolute value. You should always iterate list results until nextPageToken is null.