One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
petrovski
7 years agoExplorer | Level 3
Adding group to the Team Folder using API not working
Hello,
I am having issues with the dropbox api v2
I am trying to add group to team folder using the 2/sharing/add_folder_member
I am sending the request with this body:
{ "shared_folder_id": :team_folder_id, "members": [ { "member": { ".tag": "dropbox_id", "dropbox_id": :group_id }, "access_level": { ".tag": "editor" } } ] }
, and headers:
Authorization [Bearer :team_member_file_access_token],
Dropbox-API-Select-User [:business_account_owner_team_member_id]
The provided user in the headers is member of the group
This api call was working fine before, but since the last week always gives access_error - not_a_member error.
Can you please tell me how to fix this or if there is another way to add group to team folder?
Thanks,
Borche
[Cross-linking for reference: https://stackoverflow.com/questions/51929171/adding-group-to-the-team-folder-using-api-not-working ]
I believe this is due to a change in how our membership model works for operations in team folders like this.
We're looking into that change, but to make this work, please use the "Member file access" feature with an app with the "team member file access" permission, and use the "Dropbox-API-Select-Admin" header with the team member ID of an admin instead.
- Greg-DB
Dropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/51929171/adding-group-to-the-team-folder-using-api-not-working ]
I believe this is due to a change in how our membership model works for operations in team folders like this.
We're looking into that change, but to make this work, please use the "Member file access" feature with an app with the "team member file access" permission, and use the "Dropbox-API-Select-Admin" header with the team member ID of an admin instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 hours ago
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 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!