Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Legrend_Sargentpc's avatar
Legrend_Sargentpc
Explorer | Level 3
2 years ago
Solved

Zapier - 409 error path/not found

Hello everyone!

 

I'm trying to get the meta data for a file so I can access the "shared_folder_id" and then add a member (or group if possible) to that folder. It's on a team folder.

I'm using Zapier as I want this to be automated upon a trigger.


The issue I get is during a Post request to get_metadata, the path cannot be found (error 409)


I first find a folder, which returns correctly.

 

Then I run a custom request (http) for: 

{
"include_deleted": false,
"include_has_explicit_shared_members": false,
"include_media_info": false,
"path": "<path from the previous find folder path in zap>" }

I've also verified this folder path does exist (I can see it, and it's all spelt correctly). This leads me to believe it's a access or permission error, but I'm not confident.
 
Headers:
Authorization Bearer <my actual token id>
Content-Type application/json
Dropbox-API-Select-Admin. dbmid:<my actual token id for myself as an admin user>
 
The folder I'm accessing has myself listed as access, and I'm also included in a group that has access.
 
I've selected all permissions on my app to write/edit everything, generated a new auth token after saving, and I still have issues. 
 
Any help is much appreciated. I'm happy to provide any additional information as well.

Thanks in advance!
  • Greg-DB's avatar
    Greg-DB
    2 years ago

    It looks like you meant to call /2/files/get_metadata, but based on the error message in the response body you actually called /2/sharing/get_folder_metadata (which takes different parameters, and so the call failed). Make sure you've configured that to call /2/files/get_metadata if that's what you intended.

12 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!