We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Legrend_Sargentpc's avatar
Legrend_Sargentpc
Explorer | Level 3
10 months 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
    10 months 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

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 36 minutes ago
412 Following

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 or Facebook.

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!