We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
mikechiu
4 months agoExplorer | Level 4
Fail updating folder member
Hi, I am running into a problem when calling sharing/update_folder_member . The error is {"error_summary": "access_error/not_a_member/.", "error": {".tag": "access_error", "access_error": {".ta...
- 4 months ago
The /2/sharing/update_folder_member endpoint does support the Dropbox-API-Select-Admin header, but only in the "Team Admin" mode, meaning it can "access content of team folders and team spaces but not the team members' home namespaces". So, for example, if that namespace is for a shared folder in the account's home namespace, you can't use the Dropbox-API-Select-Admin header and would need to instead use the Dropbox-API-Select-User header.
As for the version of the call where you do use the Dropbox-API-Select-User header, as Здравко noted, it looks like that did succeed, but returned a confusing warning message. For reference, if you print out the status code, I expect it is a 200, indicating success. I'll ask the team to look into this to correct that confusing warning message though.
JohnnyDogman
Collaborator | Level 8
It sounds like the issue is related to the member not being recognized. Here’s how to troubleshoot:
Verify Membership:
- Make sure the person you’re trying to update is indeed a member of the folder. Double-check the list of members.
Check Permissions:
- Ensure you have the necessary permissions to update members.
Correct User ID:
- Verify that you’re using the correct user ID with the Dropbox-API-Select-User header.
Use Correct API Endpoint:
- Ensure you’re calling the correct API endpoint and using the right parameters.
mikechiu
4 months agoExplorer | Level 4
Hi Greg-DB ,
For reference, if you print out the status code, I expect it is a 200, indicating success.
yes, the API status code is 200 with warning.
I'll ask the team to look into this to correct that confusing warning message though.
That's great, thanks.
And thanks for the team-admin explanation, that solves my question.
JohnnyDogman , yes, I've checked the member I changed and the member I used as the Select-API-User header are all the member of the team. Thanks for the step of troubleshooting.
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 7 days agoIf 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 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!