<?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: create_shared_link_with_settings works once, then returns nothing in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268296#M15796</link>
    <description>&lt;P&gt;I can't help with the third party library itself, but can you clarify what you mean you say it "stops"? The Dropbox API itself should always return a response, whether that's a successful result, or an error. You should check how you can retrieve an error result from the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if you're calling for the same path multiple times, the issue is likely that &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; returns a shared_link_already_exists error when there's already a shared link for that file/folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should check how to catch that using that library, and then instead call&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank"&gt;/2/sharing/list_shared_links&lt;/A&gt;&amp;nbsp;using direct_only=true to retrieve the existing shared link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 14:46:15 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-03-12T14:46:15Z</dc:date>
    <item>
      <title>create_shared_link_with_settings works once, then returns nothing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268134#M15790</link>
      <description>&lt;P&gt;Hey all - would love some help. If anyone is working with the Kunnu PHP sdk:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;The following:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;$response =&amp;nbsp;$dropbox-&amp;gt;postToAPI("/sharing/create_shared_link_with_settings", ["path" =&amp;gt; "/path/to/file.txt"]);&lt;/P&gt;&lt;P&gt;$data = $response-&amp;gt;getDecodedBody();&lt;/P&gt;&lt;P&gt;var_dump($data);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works once, then stops.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that has to do with the expiration time? Any way to set the expiration to be a minute or less? I'm testing and need to send a few requests in a row. Or is it something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:14:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268134#M15790</guid>
      <dc:creator>lmbrvill</dc:creator>
      <dc:date>2019-05-29T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: create_shared_link_with_settings works once, then returns nothing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268296#M15796</link>
      <description>&lt;P&gt;I can't help with the third party library itself, but can you clarify what you mean you say it "stops"? The Dropbox API itself should always return a response, whether that's a successful result, or an error. You should check how you can retrieve an error result from the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if you're calling for the same path multiple times, the issue is likely that &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; returns a shared_link_already_exists error when there's already a shared link for that file/folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should check how to catch that using that library, and then instead call&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank"&gt;/2/sharing/list_shared_links&lt;/A&gt;&amp;nbsp;using direct_only=true to retrieve the existing shared link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:46:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268296#M15796</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-12T14:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: create_shared_link_with_settings works once, then returns nothing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268589#M15825</link>
      <description>&lt;P&gt;Aha!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok got it - list_shared_links is what I needed thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a method to generate a permanent link?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 13:26:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268589#M15825</guid>
      <dc:creator>lmbrvill</dc:creator>
      <dc:date>2018-03-14T13:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: create_shared_link_with_settings works once, then returns nothing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268620#M15829</link>
      <description>The links returned by /2/sharing/create_shared_link_with_settings (and list_shared_links) are the closest to "permanent" links. They don't expire by default, though users/apps can explicitly revoke them or set an expiration.</description>
      <pubDate>Wed, 14 Mar 2018 15:39:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268620#M15829</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-14T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: create_shared_link_with_settings works once, then returns nothing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268626#M15831</link>
      <description>&lt;P&gt;Ok thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 16:23:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-shared-link-with-settings-works-once-then-returns-nothing/m-p/268626#M15831</guid>
      <dc:creator>lmbrvill</dc:creator>
      <dc:date>2018-03-14T16:23:01Z</dc:date>
    </item>
  </channel>
</rss>

