Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!
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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!