Forum Discussion

petrovski's avatar
petrovski
Explorer | Level 3
7 years ago
Solved

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

 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 hours ago
352 Following

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!