Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
- OS: Linux
- Node.js version: 10.16.3
- npm version: 6.9.0
googleapis version: ^39.2.0
Steps to reproduce
The "q" parameter is not returning the files in a folder when using the next query "'folder-id' in parents", although when using axios or the Try this API works as intended.
- Use the Try this API to check how the "q" parameter should work.
- Use this method to call the Drive API and verify it's not returning any value:
const queryFolders = (drive) => {
// Return the Promise result after completing its task
return new Promise((resolve, reject) => {
// Call Files: list endpoint
return drive.files.list({
"q": "'folder-id' in parents",
"fields": 'kind, files(id, name)'
},(err, results) => err ? reject(err) : resolve(results))
}
);
}
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
googleapisversion: ^39.2.0Steps to reproduce
The "q" parameter is not returning the files in a folder when using the next query "'folder-id' in parents", although when using axios or the Try this API works as intended.
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!