We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
1575475
3 years agoExplorer | Level 3
Error when adding team members to an initally created team folder via http endpoint
I'm making REST calls to the DBX HTTP endpoint from within SAP. My app has full dbx access and all possible rights. Creating a team folder works flawlessly but when trying to add members to that fol...
- 3 years ago
1575475 Apologies for the lack of clarity here. For team folders in particular, you need to add members via groups; you can't add them individually. I'll ask the team to see if we can clarify this in the documentation and error response.
For example, you would set the "members" parameter like:
"members":[{"member":{".tag":"dropbox_id","dropbox_id":"GROUPIDHERE"}}]
You can get group IDs from /2/team/groups/list, etc.
1575475
Explorer | Level 3
Hi Sdrawko,
just added some lines of code to my method to fetch the response header fields.
Here're the values straight out of the debugger 🙂
~response_line HTTP/1.0 409 Conflict
~server_protocol HTTP/1.0
~status_code 409
~status_reason Conflict
cache-control no-cache
content-security-policy sandbox allow-forms allow-scripts
x-content-type-options nosniff
content-type application/json
accept-encoding identity,gzip
date Tue, 27 Sep 2022 13:46:25 GMT
server envoy
content-encoding gzip
vary Accept-Encoding
x-dropbox-response-origin far_remote
x-dropbox-request-id 0b7745ec6a394c35861332368f0f641d
connection close
Best regards,
Jan
Greg-DB
3 years agoDropbox Staff
1575475 Apologies for the lack of clarity here. For team folders in particular, you need to add members via groups; you can't add them individually. I'll ask the team to see if we can clarify this in the documentation and error response.
For example, you would set the "members" parameter like:
"members":[{"member":{".tag":"dropbox_id","dropbox_id":"GROUPIDHERE"}}]
You can get group IDs from /2/team/groups/list, etc.
- 15754753 years agoExplorer | Level 3
Hi Greg, hi Sdrawko,
many, many kudos to the both of you for your most valuable help!
I now know how to proceed ...
Best regards,
Jan
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 3 hours 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!