<?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: get_shared_links returns empty array in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/199191#M9248</link>
    <description>This should be fixed now. Please let us know if you're still seeing any issues.</description>
    <pubDate>Thu, 22 Dec 2016 16:50:07 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-12-22T16:50:07Z</dc:date>
    <item>
      <title>get_shared_links returns empty array</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/193603#M8703</link>
      <description>&lt;P&gt;When I call the get_shared_links API with a path, I get back a 200 but an empty links array. So in this scenario I call create_shared_link_with_settings. This API returns a "shared links already exist" error.&lt;/P&gt;&lt;P&gt;I am passing in a path of /Records/paul/Births/Thompson-Hayward-20160403133425.backup and my app is EvidentiaSoftware, so I expect it to be found sinc eit exists at /Apps/EvidentiaSoftware/Records/paul/Births/Thompson-Hayward-20160403133425.backup&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;PRE&gt;var path = "/Records/paul/Births/Thompson-Hayward-20160403133425.backup"
$http.post("https://api.dropboxapi.com/2/sharing/get_shared_links",
                JSON.stringify({
                    "path": path
                }),
                {
                    headers: {
                        'Content-Type': "application/json",
                        'Authorization': 'Bearer ' + dSvc.GO.onlineStorage.D1.accessResponse.access_token
                    }
                }
            ).then(function (res) {
...

    $http.post("https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings",
            JSON.stringify({
                "path": path,
                "settings": {
                    "requested_visibility": "public"
                }
            }),
            {
                headers: {
                    'Content-Type': "application/json",
                    'Authorization': 'Bearer ' + dSvc.GO.onlineStorage.D1.accessResponse.access_token
                }
            }
        ).then(function (res) {&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:28:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/193603#M8703</guid>
      <dc:creator>Ed T.2</dc:creator>
      <dc:date>2019-05-29T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: get_shared_links returns empty array</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/193622#M8708</link>
      <description>&lt;P&gt;[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/40477103/get-shared-links-returns-empty-array" target="_blank"&gt;https://stackoverflow.com/questions/40477103/get-shared-links-returns-empty-array&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the report! We'll look into it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, we recommend using &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; instead anyway, since &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_links" target="_self"&gt;/2/sharing/get_shared_links&lt;/A&gt;&amp;nbsp;is deprecated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 18:26:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/193622#M8708</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-08T18:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: get_shared_links returns empty array</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/199191#M9248</link>
      <description>This should be fixed now. Please let us know if you're still seeing any issues.</description>
      <pubDate>Thu, 22 Dec 2016 16:50:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/get-shared-links-returns-empty-array/m-p/199191#M9248</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-22T16:50:07Z</dc:date>
    </item>
  </channel>
</rss>

