Any variation of 'sharedWithMe=false' gives me the 400 error 'Invalid Value' in reference to the q parameter:
sharedWithMe=false
sharedWithMe!=true
not(sharedWithMe=true)
etc...
It's annoying, I want to get a list of all my files using the 'allDrives' corpora (User files + Shared Drives + Shared with me) but not include the files that have been shared with me.
There's simply no way to do this without breaking it down into separate requests (1 for root Drive with 'me' in owner query, and a request for each shared drive I'm a member of.
Does anyone know why it's doing this, or can suggest an elegant solution around this?
It seems that the documentation doesn't reflect the actual behavior for the sharedWithMe
Search Query Term.
Here is a recent tracker that I found which reports this issue:
https://issuetracker.google.com/issues/173111277
Feel free to star it to indicate that you are affected too.
Subscribing by starring an Issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With