We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mrozak
6 years agoExplorer | Level 4
Business Endpoint - create a team folder
Hello folks,
when I use the business endpoint to create a team folder (in the legacy configuration of Dropbox), the team folder is created but it is not displayed in the home page, only in the admi...
mrozak
6 years agoExplorer | Level 4
I tried to set up the API call using the information in the documentation.
I added this to the header:
"dropbox-api-select-admin": "dbmid:XXXX",
The body contains this:
{
"shared_folder_id": "YYYY",
"members": [
{
"member": {
".tag": "dropbox_id",
"dropbox_id": "dbmid:XXXX"
},
"access_level": "editor"
}
],
"quiet": true,
"custom_message": "This is a new message."
}But even though I am accessing the API with the admin account, I still get the following error:
{
"error_summary": "no_permission/...",
"error": {
".tag": "no_permission"
},
"user_message": {
"locale": "en",
"text": "You don’t have permission to perform this action."
}
}When I use the "user" header, I get the following:
{
"error_summary": "access_error/not_a_member/...",
"error": {
".tag": "access_error",
"access_error": {
".tag": "not_a_member"
}
},
"user_message": {
"locale": "en",
"text": "You aren’t a member of this shared folder."
}
}May you help me to solve this issue?
Thank you in advance!
Tereza
Greg-DB
Dropbox Community Moderator
6 years agoApologies for the confusion; I was overly broad in my earlier message. While you can use /2/sharing/add_folder_member to add individual members or groups to shared folders, for team folders in particular you can only add groups, not individual members.
If you try the above again, using the 'Dropbox-API-Select-Admin' header, but specifying a group ID as the "dropbox_id", instead of a specific member ID, that should work.
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!