One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
kumargaurav0225
7 years agoExplorer | Level 3
docs/sharing_policy/set api not working fine
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"}}}'
- Greg-DB
Dropbox Staff
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 3 hours ago
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!