Hello everyone,
I want to get the ID of a folder in GDrive that contains the file with a specific file ID. I get the file ID in the scenario via a webhook. Now I only need the folder ID. I have added a ‘Search for Files/Folders’ module for this. I have tried to get the file and especially the ‘Parents’ of the file via the query, because I hope that the folder ID will also be supplied there. However, I get a 400-Eroor (probably because the query is syntactically wrong?) and I wonder in general whether this is the optimal way to get the folder ID.
I look forward to feedback.