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
9 years agoExplorer | Level 4
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...
- 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.
Greg-DB
9 years agoDropbox Staff
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.
- kostas k.79 years agoExplorer | Level 4
Thank you my friend, this helped a lot.
I called the "create_shared_link_with_settings" when the user clicked on file Test1 for example, so it could be downloaded from his dropbox account to my app. If the user then wanted to see file Test2 i did the same, and if he/she wanted to go back to Test1 the shared_link as you said already existed.
I used the "get_temporary_link" to grab the link of a file, that expires in 4 hours, so it seems that it will do the trick.
Thank you again.
- anibale8 years agoNew member | Level 2
Yours response is "409 (Conflict) error", how can i know that authentic error is "shared_link_already_exists"?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 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!