google.drive.files.list v3 parameters ignored?
See original GitHub issueHey!
I’m trying to get files from my google drive, but looks like the v3 parameters are completely ignored, even if I send a ‘pageSize’ of 1, I always get 100 results. When I specify fields to get additional data from the files I always get the same 4 fields: kind, id, name and mimeType.
Simple call:
const gdrive = google.drive('v3');
gdrive.files.list({
auth: authClient,
pageSize: 1
}
Using googleapis 26.0.1 (also tried with 25).
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Files: list | Google Drive
Lists or searches files. Try it now. This method accepts the q parameter, which is a search query combining one or more search...
Read more >Google Drive API Listing Files with Field Paramter Not Working
I know that the fields parameter can list more than just the default, but when I put parents as a field in the...
Read more >Searching docs base on visibility not working as expected ...
I'm using the Drive API V2 (files/list). ... It turns out that if you use anyoneCanFind and/or anyoneWithLink... it includes also files shared...
Read more >drive.files.list - Drive | AnyAPI Documentation
Lists or searches files. ... get https://www.googleapis.com/drive/v3/files ... approximately one million files in which the requested sort order is ignored.
Read more >Fix common issues in Google Drive
1. Wait and try opening your files again later · 2. Try basic troubleshooting · 3. Try more advanced troubleshooting.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Greetings! Please remove google-auth-library from your package.json, run ‘npm install’, and try again 😃
@philcal This works now with this example code, weird this is not yet fixed on the google quick start