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
BIMcollab
6 years agoHelpful | Level 5
Dropbox API Add folder member not working
Hi,
I am using the AddFolderMemberAsync (.NET SDK) to give access to a shared folder which is created with no access by default(it does not inherit members from parent folder, which is a team folder). Yesterday I noticed that sharing the folder did not work. I ran some tests with Postman as well - I am getting a null response and no exceptions, but the folder is still not shared even after a successful api call
Here is the code I've implemented:
-Creation of the folder
await dbt.AsAdmin(teammemberID).Sharing.ShareFolderAsync("ns:" + FolderId + "/" + Name, null, false, null, null, null, AccessInheritance.NoInherit.Instance);
-Sharing it
await dropboxClient.AsAdmin(teamAdminId).Sharing.AddFolderMemberAsync(SharedFolderId, newViewers);
Any help is appreciated!
- TaylorKrusenDropbox Staff
Are you getting a response from the first share folder call? That one does have a response object.
Typically, no response from the Add Folder Member call means that the share was successful, so that is odd.
Would you mind opening a ticket so we can discuss the specifics of your integration? Just mention that it's about an API integration and it will go directly to me.
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!