<?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: Generating a Download Link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-a-Download-Link/m-p/242858#M13555</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/491279"&gt;@jonro&lt;/a&gt;&amp;nbsp;API v1 was &lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_self"&gt;deprecated last year&lt;/A&gt;, and is no longer supported and is being retired very soon. I'm sorry to hear this caught you by surprise. We sent out emails notifying developers, but unfortunately it sounds like those didn't make it to you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference though, /1/shares should still be working for now, and shouldn't have changed recently. I just tried a request like what you posted, and it worked for me. Based on the error message, it looks like your actual code isn't passing in the folder/file name (in your example, "myFolder"). If you want to get that working again for now, you should check why that value isn't getting filled (or is itself empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you&amp;nbsp;will need migrate to API v2. The API v2 equivalent of /1/shares is &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;to create a new shared link, or &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_only=true) to retrieve an existing shared link. There are curl examples for each of those that show how to make the HTTP request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2017 13:43:39 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-09-22T13:43:39Z</dc:date>
    <item>
      <title>Generating a Download Link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-a-Download-Link/m-p/242758#M13554</link>
      <description>&lt;P&gt;A few years ago I used the HTTP API to generate email links to folders. It suddenly stopped working and I discovered that there is a new API and the old one has been deprecated. I&amp;nbsp;had not heard about the change until now. At any rate simple request I have&amp;nbsp;been using looks like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://api.dropbox.com/1/shares/dropbox/myFolder" target="_blank" rel="noopener"&gt;https://api.dropbox.com/1/shares/dropbox/myFolder&lt;/A&gt;" &amp;amp; &amp;nbsp;"?access_token=&amp;lt;REDACTED&amp;gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of returning a link, I get an error message of "&lt;/P&gt;
&lt;P&gt;{"error": {"path": "The root path (\"/\") is not allowed."}}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would someone please tell me how to change the request to work with the new API? I'm under a time crunch and I'm not sure where to start. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 17:14:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-a-Download-Link/m-p/242758#M13554</guid>
      <dc:creator>jonro</dc:creator>
      <dc:date>2020-05-29T17:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a Download Link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-a-Download-Link/m-p/242858#M13555</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/491279"&gt;@jonro&lt;/a&gt;&amp;nbsp;API v1 was &lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_self"&gt;deprecated last year&lt;/A&gt;, and is no longer supported and is being retired very soon. I'm sorry to hear this caught you by surprise. We sent out emails notifying developers, but unfortunately it sounds like those didn't make it to you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference though, /1/shares should still be working for now, and shouldn't have changed recently. I just tried a request like what you posted, and it worked for me. Based on the error message, it looks like your actual code isn't passing in the folder/file name (in your example, "myFolder"). If you want to get that working again for now, you should check why that value isn't getting filled (or is itself empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you&amp;nbsp;will need migrate to API v2. The API v2 equivalent of /1/shares is &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;to create a new shared link, or &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_only=true) to retrieve an existing shared link. There are curl examples for each of those that show how to make the HTTP request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 13:43:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-a-Download-Link/m-p/242858#M13555</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-22T13:43:39Z</dc:date>
    </item>
  </channel>
</rss>

