We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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.