We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Legrend_Sargentpc
2 months agoExplorer | Level 3
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...
- 2 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.
Legrend_Sargentpc
Explorer | Level 3
Hi Greg,
That's for clearing up the shared_id vs parent_shared_ID.
In step 1, I'm getting a specific file location. It's a dropbox/zapier event that returns the following:
- ID: (ex. id:somerandomechars23432)
- Path: (ex. /baseroot/subfolder1/subfolder2
- ShareLink: (http: link we use to share for our clients)
- is deleted: t/f
- is shared: t/f
- no access: t/f
- is dir: t/f
So, I have found a folder "ID", but not the "shared_folder_id" which seems necessary for the add_folder_member api call. I'm then trying to pull the meta data from that "ID", so I can get the shared_folder_Id to be used in add_folder_member.
I think my issue is showing that the get_meta_data is returning a error 400 even though Zapier is saying it went through correctly. (not sure though). Pictures below to show what I put it, and what came out. (Not sure why they are posted backwards, but I couldn't change it.)
Thanks again for all the help!
Greg-DB
2 months agoDropbox Staff
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.
- Legrend_Sargentpc2 months agoExplorer | Level 3
Hi Greg,
That helped fix that error. I can't believe I missed that! I'm still getting the none type issue on the next step, but I have a feeling it's time to ask Zapier what's going on, because passing a hardcoded variable is still showing the same thing.
Thanks so much for your help!- bblu20959 days agoCollaborator | Level 8
Did you end up figuring this out? I am also receiving this error, though it seems like the action is successful ("Dropbox folder is shared properly").
- Legrend_Sargentpc9 days agoExplorer | Level 3
Not entirely. Which specific issue are you having, because I had a few coupled together.
If you send over what you have and I'd be happy to take a look and see if I can help get you to the next step.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 7 hours agoIf 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!