cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: How can I retrieve a list of all the members who have been granted access to a file in team fold

How can I retrieve a list of all the members who have been granted access to a file in team folder

athithan
Helpful | Level 5

A member of a team has created a folder in the team folder, inside the folder there is a file. This file is shared with multiple users, excluding the admin. With admin privilege, I am able to retrieve the list of members of the file using the Dropbox API endpoint "https://api.dropboxapi.com/2/sharing/list_file_members".   The API provides me with a cursor for pagination. However, when I attempt to retrieve the next page of members using the endpoint "https://api.dropboxapi.com/2/sharing/list_file_members/continue", 

I encounter the following error:

Screenshot 2023-04-24 at 2.26.54 PM.png

 

I believe that this endpoint is supposed to support admin privileges, but it seems to be returning an error related to an invalid file ID. I am unsure how to retrieve the members on the next page if this endpoint does not support admin privileges. Can anyone provide guidance on how to resolve this issue?

 

13 Replies 13

Greg-DB
Dropbox Staff

@athithan Thanks for the context! I've brought this up with the team and I'll follow up here with any news on this.

athithan
Helpful | Level 5

Thank you! I am eagerly anticipating the updates. 🙏

Greg-DB
Dropbox Staff

@athithan To be clear, I can't promise if/when this would be updated accordingly, but I'll follow up here if I do get any news on this to share.

Greg-DB
Dropbox Staff

@athithan We've deployed an update with support for "Dropbox-API-Select-Admin" on /2/sharing/list_file_members/continue. Give that a try and let me know if that works for you.

Need more support?