We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
akanshikumari
3 years agoExplorer | Level 3
Batching API not returning permissions for groups
I am trying to fetch the permissions of multiple files using batching, I have shared a file `abc.txt` to a group which was created automatically and includes invited members. But while running the API, response is not returning that group.
API endpoint: https://api.dropboxapi.com/2/sharing/list_file_members/batch
Response:
{
"file": "id:88aWjhZozYsAAAAAAAAAyA",
"result": {
".tag": "result",
"members": {
"users": [],
"groups": [],
"invitees": []
},
"member_count": 0
}
},<p> </p>
3 Replies
- Greg-DB3 years ago
Dropbox Community Moderator
This is the expected behavior for /2/sharing/list_file_members/batch; groups are not returned by this endpoint. Refer to the /2/sharing/list_file_members/batch documentation for a note about this. To get group information, you'd need to use /2/sharing/list_file_members instead.
- akanshikumari3 years agoExplorer | Level 3
I am getting the group if it's group management type is `user_managed` or `company_managed` but if type is `system_managed`, then it's not getting returned in /2/sharing/list_file_members/batch .
What's the case of getting the group and what's the case for not getting it in batching API? - Greg-DB3 years ago
Dropbox Community Moderator
I can't offer more information or a guarantee beyond what's included in the documentation for the endpoint. Please refer to that for information on what information/behavior to rely on for the endpoint.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!