Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
FinervaStu
10 months agoHelpful | Level 5
sharing/remove_folder_member endpoint throwing 500 error
I've been using the api.dropboxapi.com/2/sharing/remove_folder_member endpoint for a number of years without issue. After the scheduled maintenance last night (2025-02-06) I'm receiving a 500 response from all calls to it.
I'm doing a POST call with the following headers:
Dropbox-API-Path-Root: {"namespace_id":"999999",".tag":"namespace_id"}
Dropbox-API-Select-User: dbmid:AAAAAAAAAand the request:
{
"shared_folder_id":"99999999",
"member":{
".tag":"dropbox_id",
"dropbox_id":"dbmid:AAAAAAAA"
},
"leave_a_copy":false
}(IDs all changed)
Is anyone else using this endpoint in the same way? Is it still working for you?
Maybe something changed as part of the maintenance? Seems too much like a coincidence that this code no longer works.
Thanks for any help.
8 Replies
- DB-Des10 months ago
Dropbox Community Moderator
Hi FinervaStu,
Thanks for the report! We're investigating this API issue. We'll follow up here once we have an update.
In the meantime, you should be able to remove members using their "email" or "dbid", instead of the "dbmid". - Samuel Balraj10 months agoNew member | Level 1
Hi Team,
I am facing an issue while trying to remove a team member from a shared folder.Could you please check if this is a known issue or provide any troubleshooting steps
dropbox.exceptions.InternalServerError: InternalServerError('fa7e0df00bfb4b6eb94affc96cc414f0', 500, '')
dbx.sharing_remove_folder_member(
File "/root/env/lib/python3.10/site-packages/dropbox/base.py", line 5416, in sharing_remove_folder_member
r = self.request(
File "/root/env/lib/python3.10/site-packages/dropbox/dropbox_client.py", line 326, in request
res = self.request_json_string_with_retry(host,
File "/root/env/lib/python3.10/site-packages/dropbox/dropbox_client.py", line 476, in request_json_string_with_retry
return self.request_json_string(host,
File "/root/env/lib/python3.10/site-packages/dropbox/dropbox_client.py", line 595, in request_json_string
self.raise_dropbox_error_for_resp(r)
File "/root/env/lib/python3.10/site-packages/dropbox/dropbox_client.py", line 620, in raise_dropbox_error_for_resp
raise InternalServerError(request_id, res.status_code, res.text)
dropbox.exceptions.InternalServerError: InternalServerError('fa7e0df00bfb4b6ebc96cc414f0', 500, '') - FinervaStu10 months agoHelpful | Level 5
Hi DB-Des ,
Thanks for the response, hope you find the issue soon.
Is the use of dbid (account_id) instead of dbmid (team_member_id) supported by all other APIs and does it mean EXACTLY the same thing or are there some subtle differences?
Thanks,
Stu.
- FinervaStu10 months agoHelpful | Level 5
Looks like you may be experiencing the same issue as I am, here's the DB initial response: https://www.dropboxforum.com/discussions/101000014/sharingremove-folder-member-endpoint-throwing-500-error/824107/replies/824152
Let's hope they find the root cause quickly.
Are you using the API directly or through an official SDK (looks like you may be using the Python one)?
- Samuel Balraj10 months agoNew member | Level 1
Hi FinervaStu
I am using the official Python SDK for Dropbox. Previously, everything was working fine, but for the last two days, I have been encountering an issue when trying to remove a team member from a shared folder.
Earlier, I was using the Dropbox Team Member ID (dbmid) to remove users, but this is no longer working. As a temporary workaround, I switched to using the Dropbox User ID (dbid), and it is working fine with dbid. - FinervaStu10 months agoHelpful | Level 5
Looks like someone has fixed the problem as using dbmid is now working and has been for a few hours. I am seeing quite slow performance for the remove-folder-member API though - some async jobs are taking 10 minutes to complete, whereas last time I looked they'd complete in well under a minute.
- DB-Des10 months ago
Dropbox Community Moderator
Hi Samuel Balraj,
As FinervaStu mentioned, the reported issue has been resolved, you should be able to remove folder members using the "dbmid".
Please let us know if you are also seeing unusually long times with the async jobs though. If so, please provide a few of the affected async job IDs.
- DB-Des10 months ago
Dropbox Community Moderator
Any endpoints that support the use of "dbid" or "email" would have it documented. For example, endpoint /sharing/add_folder_member would also support the use of "dbid" or "email".
As far as your second question, it would typically mean the same thing, unless otherwise stated in the documentation for the specific endpoint.
As you are aware of by now, the issue with the use of "dbmid" has been resolved. However, if there are any specific endpoints you'd like further clarification on, feel free to share those with us.
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!