Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
Since 2 days approximatively all calls API Share Folder return an error "No permission". I have an application which create folder on a Team Folder and share it with a group. Since last Friday, I have an error 'No permission' on each try.
I reproduced this issue on API Explorer. If I create a folder in my Dropbox and I try to share it from API:
- https://api.dropboxapi.com/2/sharing/share_folder
I receive an error "No permission", it's my folder, and I'm owner on this folder.
Is it a problem on API or I need to change my call?
Best regards.
Thanks for the report, and apologies for the trouble and unhelpful error message!
It looks like this is the result of a configuration on our side, along with how the API v2 Explorer writes this call. You should be able to work around this by running this outside of the API v2 Explorer and omitting the `link_settings` parameter entirely.
That is, the API v2 Explorer constructs this like:
curl -X POST https://api.dropboxapi.com/2/sharing/share_folder \ --header 'Authorization: Bearer <ACCESS_TOKEN>' \ --header 'Content-Type: application/json' \ --data '{"path":"/test-shared-folder","link_settings":{}}'
Please try running it manually like this instead, without link_settings:
curl -X POST https://api.dropboxapi.com/2/sharing/share_folder \ --header 'Authorization: Bearer <ACCESS_TOKEN>' \ --header 'Content-Type: application/json' \ --data '{"path":"/test-shared-folder"}'
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!