cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

https://api.dropboxapi.com/2/sharing/share_folder return "No permission"

https://api.dropboxapi.com/2/sharing/share_folder return "No permission"

Thierry-fr
Explorer | Level 4

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.

 

1 Reply 1

Greg-DB
Dropbox Staff

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"}'
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?