Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆
Forum Discussion
NitayBachrach
6 years agoExplorer | Level 4
sharing/get_folder_metadata fails with "invalid shared folder ID"
Hi, so I tried getting the metadata of a member's shared folder (the one that I got from the members/get_info endpoint), and I got "invalid shared folder ID".
I tired using both the user member id (with "Dropbox-API-Select-User") and the admin member id with "Dropbox-API-Select-Admin" (according to the documention its a whole team permission in this endpoind, and the documenation explictly says that whole team permission should be able to access those folders)
It's worth mentioning that I was able to get the metadata of the admin's private directory.
- Greg-DBDropbox Staff
Can you clarify which value from /2/team/members/get_info you're passing to /2/sharing/get_folder_metadata? The /2/team/members/get_info endpoint doesn't return shared folder information. It returns information about a particular team member.
There isn't exactly something called "a member's shared folder". Any particular member may own or be a member of any number of shared folders, but those aren't listed by /2/team/members/get_info.
What information are you looking for by attempting to do so?
If you want to list the shared folders a member has access to, you should use the /2/sharing/list_folders[/continue] endpoints.
- NitayBachrachExplorer | Level 4
Yes you're right . I mixed some things.
The user has private folders that are shared with other people.
I want to get the sharing info, and I have the shared folder id, but I metadata doesn't work...
- NitayBachrachExplorer | Level 4
I'd add that that shared_folder_id is returned by the server as "parent_shared_folder_id" when I'm enumarating the files.
I expect that that field is indeed a valid shared_folder_id.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,929 PostsLatest Activity: 24 hours ago
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!