0

So I've noticed that PyDrive isn't able to find any files that weren't originally uploaded by PyDrive.

Using

myfilelist = drive.ListFile({'q': "'id' in parents and trashed=false"}).GetList()

it returns blank - but if I upload the file using PyDrive then it can find it. Is this something to do regarding some kind of metadata that PyDrive leaves behind? Or am I completely missing something here?

Cheers

Anonymous
  • 37
  • 5
  • This is probably due to authentication. Are you sure you are using the same account to upload through pydrive and to open the browser? In my case, Im using a service account, so no files are accessible by it unless I give it access. – Nilo Araujo May 19 '22 at 18:09

1 Answers1

0

You have to check your settings.yml file the oauth_score should be oauth_scope:

you can check here I can see only files created with my script pydrive for more detail