<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: shared_link_already_exists in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/191085#M8302</link>
    <description>&lt;P&gt;Thank you my friend, this helped a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2016 08:10:11 GMT</pubDate>
    <dc:creator>kostas k.7</dc:creator>
    <dc:date>2016-10-18T08:10:11Z</dc:date>
    <item>
      <title>shared_link_already_exists</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/190946#M8265</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is an 409 (Conflict) error i have never encountered since today with a responseText "shared_link_already_exists".&lt;/P&gt;&lt;P&gt;I have a generic function getDropboxFiles() called in several places in my web app that creates a "list_folder" request, mainly when the user logs into the page or if a new file is uploaded.&lt;/P&gt;&lt;P&gt;When the request completes successfully i grab the response and for each file i create a "create_shared_link_with_settings" request and add it to my page , so that the user can open each file seperately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today is the first day, after a long time that the app works like a charm with no problems, that i receive the above error message. Can you provide some insight please ? Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:29:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/190946#M8265</guid>
      <dc:creator>kostas k.7</dc:creator>
      <dc:date>2019-05-29T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: shared_link_already_exists</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/191006#M8276</link>
      <description>&lt;P&gt;When calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_self"&gt;/2/sharing/create_shared_link_with_settings&lt;/A&gt;&amp;nbsp;a shared_link_already_exists error is expected if a shared link already exists for that path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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&amp;nbsp;Dropbox web site.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being the case, you should make sure your app is ready to handle that error. You can use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_self"&gt;/2/sharing/list_shared_links&lt;/A&gt;&amp;nbsp;with direct=true to get the existing link.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 18:35:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/191006#M8276</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-17T18:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: shared_link_already_exists</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/191085#M8302</link>
      <description>&lt;P&gt;Thank you my friend, this helped a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:10:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/191085#M8302</guid>
      <dc:creator>kostas k.7</dc:creator>
      <dc:date>2016-10-18T08:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: shared_link_already_exists</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/224502#M12135</link>
      <description>&lt;P&gt;Yours response is "409 (Conflict) error", how can i know that authentic error is "shared_link_already_exists"?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:23:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/224502#M12135</guid>
      <dc:creator>anibale</dc:creator>
      <dc:date>2017-06-06T13:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: shared_link_already_exists</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/224553#M12136</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/411958"&gt;@anibale&lt;/a&gt;&amp;nbsp;When you get a 409 like this, you should check the HTTP response body. It will contain a more specific error, such as&amp;nbsp;shared_link_already_exists. (If you're using an SDK, the SDK will translate this into an error type for you.)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:27:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-link-already-exists/m-p/224553#M12136</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-06T16:27:55Z</dc:date>
    </item>
  </channel>
</rss>

