Trash attribute in result of the search of file using OneDrive node

Describe the issue/error/question

I have used search function for files in OneDrive node. But I have recovered several files and most of them it are into the trash.
How can I filter these files?

What is the error message (if any)?


Please share the workflow

Share the output returned by the last node


Information on your n8n setup

  • **n8n version:**0.182.0
  • Database you’re using (default: SQLite): N/A
  • **Running n8n with the execution process [own(default), main]:**own
  • **Running n8n via [Docker, npm,, desktop app]:**destop app

Hi @franchogarcia,
I do not use onedrive myself but I could dig up a recent microsoft question article:

Are the files your are talking about coincidentally files that are shared with you?

So far I wasn’t able to figure out a way to filter trashed files using OneDrive’s search query. Can you filter out these files from OneDrive’s response?

1 Like

Sorry, my fault. I have checked much better and the search file function of OneDrive not returns files inside of the trash.
I close this topic as result, ok?
Thank you very much for your time and patient :slight_smile:

1 Like