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

Forum Discussion

kumargaurav0225's avatar
kumargaurav0225
Explorer | Level 3
8 years ago

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"}}}'

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    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

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!