question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Query attribute doesn't work on drive.files.list v3

See original GitHub issue

When calling

const req = drive.files.list({q: "name='BC01-TSP10'"}, (error, response) => {
        if(error) reject(error)
        console.log(response)
        resolve(response)
      })

The q property does nothing. Actually it seems to me none of the identified properties do anything. I tried searching through the source but was unable to determine what was wrong. When using the API tester it works fine.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JustinBeckwithcommented, Mar 21, 2018

ooooops 😃 Updated!

0reactions
mbbendercommented, Mar 27, 2018

I did just notice I have version 25 though.

    "googleapis": "^25.0.0",
Read more comments on GitHub >

github_iconTop 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 File query list() method not listing any files ...
In the code below, I am trying to instantiate the Drive API and would like to query CSV files that have 'AllData' in...
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 API V3 - Files: list "q" parameter doesn't return files #1957
The following query of two folders, both only containing images returned** a list that contained only one item, the first image in folder...
Read more >
Data definition language (DDL) statements in ... - Google Cloud
Compose new query. ... The NOT NULL attribute of a table's column_schema does not propagate through ... Specify a table option list in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found