Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
While setting sharing policy using docs/sharing_policy/set api,when I provide value for team_sharing_policy,I get invalid argument error.
'{"doc_id":"xyzvvn","sharing_policy":{"public_sharing_policy":{".tag":"invite_only"},"team_sharing_policy":{".tag":"invite_only"}}}'
Note that per the documentation:
"The default 'team_sharing_policy' can be changed only by teams, omit this field for personal accounts."
Are you on a team account? If not, remove that parameter and try again.
Hi there!
If you need more help you can view your support options (expected response time for a 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!