You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

kostas k.7's avatar
kostas k.7
Explorer | Level 4
9 years ago

shared_link_already_exists

Hello, There is an 409 (Conflict) error i have never encountered since today with a responseText "shared_link_already_exists". I have a generic function getDropboxFiles() called in several places i...
  • Greg-DB's avatar
    9 years ago

    When calling /2/sharing/create_shared_link_with_settings a shared_link_already_exists error is expected if a shared link already exists for that path.

     

    This can occur, for example, if your app already made that API call for that path. Is it possible your app ran that code more than once for a particular path?

     

    If can also occur if the user elsewhere made a link for that file or folder though, even outside of your app, e.g., via the Dropbox web site.

     

    That being the case, you should make sure your app is ready to handle that error. You can use /2/sharing/list_shared_links with direct=true to get the existing link.