• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Google Drive - Delete Folder 404 'File Not Found'

I'm trying to Delete a Folder in my Google Shared Drive. I have the correct ID, and have successfully added files to this folder.
But when I run the 'Delete File or Folder' step, it returns a 404 error. This is only in testing now. I see that others have also had trouble with this Drive - 'Delete File or Folder' step. Am I missing something?
I saw in this Post: https://forum.pabbly.com/threads/delete-folder-in-drive.24537/ the person had to create their own API call because the default Drive - 'Delete File or Folder' step did not include this. Is this true, or has it been resolved?

1744319350454.png
 

ArshilAhmad

Moderator
Staff member
Thank you for sharing the workflow. Please allow us some time to look into this concern. We will get back to you with an update soon.
 

Preeti Paryani

Well-known member
Staff member
Hello @JustinPM123,

Could you please confirm if you are the owner of the folder you are trying to delete? Only the owner has the necessary permissions to delete a folder in Google Drive.

Let us know so we can assist you further.
 

Preeti Paryani

Well-known member
Staff member
Hello @JustinPM123,

Thank you for the information.

After discussing the issue with our team, I’d like to clarify that the "Delete File or Folder" action is designed to remove files or folders owned by the user. Unfortunately, it does not support deleting folders from a Shared Drive.

To achieve this, you can use the "Custom API Request" action event. Please refer to the official API documentation for more details on how to structure this request.

 
Can you provide some support for the Custom API Request action to get access to Shared Google Drive? I have followed all the steps in the online documentation, but I am still getting 403 Response.

My workflow is here: https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTY5MDYzZjA0M2M1MjY4NTUzNzUxM2Ii_pc
Step 7.5 (Step 7. Route > Step 5. API)


Nevermind, I just found the 'Custom API Request' option in the Google Drive step (not the Pabbly Custom API), added the API Endpoint: https://www.googleapis.com/drive/v3/files/"VARIABLE_FODLER_ID"?supportsAllDrives=true
And it worked!
Hope this post helps others trying to do the same.
 
Last edited:
Top