<?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 Empty path error from /sharing/list_shared_links in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147647#M4827</link>
    <description>&lt;P&gt;I am trying to use list_shared_links in the way described in the documentation: "If no path is given or the path is empty, returns a list of all shared links for the current user." (&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;However when I give an empty path, I receive a 400&amp;nbsp;error: "Error in call to API function "sharing/list_shared_links": request body: path: '' did not match pattern '((/|id:).*)|(rev:[0-9a-f]{9,})'"&lt;/P&gt;
&lt;P&gt;And when I give no path I receive a 500 error with no response data.&lt;/P&gt;
&lt;P&gt;If I provide a path then it works as expected.&lt;/P&gt;
&lt;P&gt;The deprecated endpoint "get_shared_links" works as expected with empty path, but lacks essential information that list_shared_links returns.&lt;/P&gt;
&lt;P&gt;Is this a known issue/anybody else seeing this?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:35:22 GMT</pubDate>
    <dc:creator>David Z.11</dc:creator>
    <dc:date>2019-05-29T09:35:22Z</dc:date>
    <item>
      <title>Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147647#M4827</link>
      <description>&lt;P&gt;I am trying to use list_shared_links in the way described in the documentation: "If no path is given or the path is empty, returns a list of all shared links for the current user." (&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;However when I give an empty path, I receive a 400&amp;nbsp;error: "Error in call to API function "sharing/list_shared_links": request body: path: '' did not match pattern '((/|id:).*)|(rev:[0-9a-f]{9,})'"&lt;/P&gt;
&lt;P&gt;And when I give no path I receive a 500 error with no response data.&lt;/P&gt;
&lt;P&gt;If I provide a path then it works as expected.&lt;/P&gt;
&lt;P&gt;The deprecated endpoint "get_shared_links" works as expected with empty path, but lacks essential information that list_shared_links returns.&lt;/P&gt;
&lt;P&gt;Is this a known issue/anybody else seeing this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147647#M4827</guid>
      <dc:creator>David Z.11</dc:creator>
      <dc:date>2019-05-29T09:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147648#M4828</link>
      <description>&lt;P&gt;Thanks for the report! I can reproduce the unexpected error when supplying an empty path, which we'll look into, but I can't reproduce the 500 when not supplying a path. Can you share your code and output? The response headers would be useful in particular.&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:41:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147648#M4828</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T03:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147649#M4829</link>
      <description>&lt;P&gt;I just send an empty JSON object {} or send {"direct_only": true}. Here are the response headers:&lt;/P&gt;
 &lt;SPAN class="header-name"&gt;Server:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;nginx&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Date:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;Tue, 23 Feb 2016 19:46:43 GMT&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Content-Type:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;text/plain; charset=utf-8&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Transfer-Encoding:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;chunked&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Connection:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;keep-alive&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Access-Control-Allow-Origin:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;*&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;Access-Control-Expose-Headers:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;Accept-Ranges, Content-Range, ETag, Dropbox-API-Result&lt;/SPAN&gt;&lt;SPAN class="header-name"&gt;X-Dropbox-Request-Id:&lt;/SPAN&gt; &lt;SPAN id="display"&gt;a9b5ab8a94939b5f00d02e1778070916&lt;/SPAN&gt; 
&lt;DIV class="Response_View_responseRow"&gt;
&lt;DIV class="tabsPanel Response_View_result Response_View_bodyResult"&gt;
&lt;DIV class="tabs"&gt;
&lt;DIV class="inlineButtonsGroup"&gt;&lt;SPAN class="inlineButton inlineButtonChecked"&gt;Raw&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="inlineButtonsGroup"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="inlineButtonsGroup"&gt;&lt;SPAN class="inlineButton inlineButtonChecked"&gt;So you are able to obtain a list of all shared links using this endpoint? If so, can you provide details?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:51:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147649#M4829</guid>
      <dc:creator>David Z.11</dc:creator>
      <dc:date>2016-02-24T03:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147650#M4830</link>
      <description>&lt;P&gt;Thanks! That's helpful. We'll look into that error.&lt;/P&gt;
&lt;P&gt;For reference, yes, both of these versions work for me:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \&lt;BR /&gt; --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \&lt;BR /&gt; --header "Authorization: Bearer &amp;lt;ACCESS_TOKEN&amp;gt;" \&lt;BR /&gt; --header "Content-Type: application/json" \&lt;BR /&gt; --data "{}"&lt;/PRE&gt;
&lt;P&gt;The error you're seeing may be account-specific though, so we're looking into it specifically.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 04:56:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147650#M4830</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T04:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147651#M4831</link>
      <description>&lt;P&gt;Thanks for the reply. I should mention that I am using a Dropbox Business account with the&amp;nbsp;"Dropbox-API-Select-User" header.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 06:32:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147651#M4831</guid>
      <dc:creator>David Z.11</dc:creator>
      <dc:date>2016-02-24T06:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Empty path error from /sharing/list_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147652#M4832</link>
      <description>&lt;P&gt;Thanks! That also works for me, so it is likely an account-specific issue. We'll follow up here once we have an update for you.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 06:43:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Empty-path-error-from-sharing-list-shared-links/m-p/147652#M4832</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T06:43:43Z</dc:date>
    </item>
  </channel>
</rss>

