Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

petrovski's avatar
petrovski
Explorer | Level 3
8 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

 

1 Reply

About Dropbox API Support & Feedback

Node avatar for 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!