Google Drive Node outputs deleted files and duplicates

Describe the issue/error/question

Google Drive node is outputting files that have been deleted from that folder and sometimes it’s duplicates. Tried with new files, another Google Drive node, and force reload - doesn’t work.

What is the error message (if any)?

Please share the workflow

Information on your n8n setup

  • **n8n version:**0.182
  • Database you’re using (default: SQLite):
  • **Running n8n with the execution process [own(default), main]:**own
  • **Running n8n via [Docker, npm, n8n.cloud, desktop app]:**desktop
1 Like

Hi @pooria

Not sure if this will do the trick as I am not experienced with this API. But it seems there is a property which you might be able to set. Try setting this and see what happens.
image

Docs;Files  |  Drive API  |  Google Developers

1 Like

@BramKn thanks for replying.

I don’t see that option neither in Google Drive node or trigger one. Can you let me know where to add that please?

Hi @pooria
Under options in the google drive node.
image

edit: Not sure what the difference is between properties & APP properties. You can try them both and see what it does.

This is what I see
image

Whoops, There is different options for different operations. I was not on the correct operation.
try this:
image

If you are using the query string, there is an example you can use.

Files that contain the text “important” and in the trash

fullText contains 'important' and trashed = true

docs:Search for files and folders  |  Google Drive  |  Google for Developers

2 Likes

@BramKn you’re a freakin awesome person!! That worked :))) thanks

2 Likes