Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
AEmery
9 years agoExplorer | Level 3
Error handling with /2/members/get_info and /2/team/groups/members/list
Hi, Two distinct problems, but since they are similar, I figured I'd group them in the same post here. /2/members/get_info If I supply a member id that doesn't exist this way: { "membe...
- 9 years agoThe 500 should also be fixed now. Please let us know if you're still seeing any issues.
Greg-DB
Dropbox Community Moderator
9 years agoThanks for writing this up!
For /2/team/members/get_info, this is the expected behavior. A successful call will return a list of MembersGetInfoItem, where each one is either id_not_found or member_info. Since this endpoint can accept multiple UserSelectorArg, the call itself will return an overall success with an id_not_found or member_info MembersGetInfoItem per input UserSelectorArg, so that it doesn't need to fail the entire call if just some of the input UserSelectorArg are not found.
For /2/team/groups/members/list, the expected behavior is the 409 with group_not_found. The 500 is a bug that I can reproduce, so we'll look into that. The 200 with an empty "members" list also isn't expected, but I can't reproduce that. Can you share a sample group ID value that gives you that? Thanks in advance!
AEmery
9 years agoExplorer | Level 3
Yeah sure, here's more details:
The Dropbox Business environment that we use for tests purposes has 3 groups as shown in the admin console or via the /2/team/groups/list API call.
One of these groups has "group_id": "g:57460cd2e2edd1cd000000000000001a". If I call /2/team/groups/members/list on this group id I get, as expected, a 200 with the members listed under the "members" token in the response body.
If instead, I use g:57460cd2e2edd1cd000000000000001b (which is not one of my three groups), I get this response:
Status 200 OK
{
"members": [],
"cursor": "someCursor",
"has_more": false
}
In fact, I can change pretty much anything in last 16 characters of the group id and I get the same empty "members" list.
Hope this helps
- Greg-DB9 years ago
Dropbox Community Moderator
Thank you! That's helpful. We'll look into that too.- Greg-DB9 years ago
Dropbox Community Moderator
The issue of the incorrect 200 response with an empty members array should be fixed now. The issue of the 500 response is still being worked on, and should be fixed soon.- Greg-DB9 years ago
Dropbox Community Moderator
The 500 should also be fixed now. Please let us know if you're still seeing any issues.
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!