You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
martinjuniqe
7 years agoExplorer | Level 4
Need help managing photos with DropBox
Hello Dropbox! I am trying to set up an automated workflow via zapier for our company juniqe.com: i need to invite new folder members as editors via their email, am am trying to do so via a w...
- 7 years ago
If you know the path or ID for the folder, and the folder is already a shared folder, you can get the shared folder ID by calling /2/files/get_metadata. The shared folder ID will be in the result at folder.sharing_info.shared_folder_id. Using /2/sharing/list_folders[/continue] on the folder's parent also works.
Note that creating a shared link for a folder does not make it a "shared folder". These actually refer to two different types of sharing on Dropbox: "shared links" and "shared folders". Folders will only receive shared folder IDs for the second type of sharing, "shared folders".
It sounds like you may have used /2/sharing/create_shared_link_with_settings to make a shared link for the folder. To share the folder in order to get a shared folder ID, you should use /2/sharing/share_folder.
Greg-DB
Dropbox Staff
It sounds like you're not using a "team-linked" app (i.e., an app registered for the "Dropbox Business API"). The Dropbox-API-Select-User header is only meant for team-linked apps. Since you're using a "user-linked" app (i.e., an app registered for the "Dropbox API"), you should remove the Dropbox-API-Select-User header.
martinjuniqe
7 years agoExplorer | Level 4
Hi Greg, I tried your suggestion and removed the header, now resulting in the following error again:
api.dropboxapi.com returned (400) Bad Request and said nothing
Is there a way to find out if we're using a team or user linked account?
It seems like I am hitting a wall with this, and it (seems) to be so dirt simple!
Your help is really appreciated. I just think i might need a little more of it!
- martinjuniqe7 years agoExplorer | Level 4Hi Greg, I tried your suggestion and removed the header, now resulting in the following error again:
api.dropboxapi.com returned (400) Bad Request and said nothing
Is there a way to find out if we're using a team or user linked account?
It seems like I am hitting a wall with this, and it (seems) to be so dirt simple!
Your help is really appreciated. I just think i might need a little more of it!
- Greg-DB7 years agoDropbox Staff
martinjuniqe Is that the actual/full output you get? There should be more useful information in the response body for that 400 error (not "nothing").
You can check your app type(s) on the App Console. Any apps with the "Full Dropbox" or "App folder" permissions are "user-linked". Any apps with a "Team" permission are "team-linked".
- martinjuniqe7 years agoExplorer | Level 4
just wanted to follow up on this again, since i've still not gotten it to work. You were right, my app is 'user-linked' so the header Select-User has since been removed...
I understand that you chirstius set this up via the zapier web interface, but i am really not seeing where i went off script compared to you
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!