<?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 File temporary link generation doesn't work in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-temporary-link-generation-doesn-t-work/m-p/605180#M28091</link>
    <description>&lt;P&gt;I am trying to generate a temporary link from test file with curl command, but this doesn't work and return this following error:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl: (92) HTTP/2 stream 1 was not closed cleanly before end of the underlying stream&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My Curl Request:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_temporary_link \
    --header "Authorization: Bearer &amp;lt;get access token&amp;gt;&lt;/PRE&gt;
&lt;PRE&gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\":\"/test/txt.txt\"}"&lt;/PRE&gt;
&lt;P&gt;I am putting the Access Token recently generated in "&amp;lt;get access token&amp;gt;" and I have created the folder and uploaded the file in following path of Dropbox:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/x2k3bzxeud3h06g/txt.txt?dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/x2k3bzxeud3h06g/txt.txt?dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand why this isn't working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to be helped.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 21:16:44 GMT</pubDate>
    <dc:creator>Amicao</dc:creator>
    <dc:date>2022-06-27T21:16:44Z</dc:date>
    <item>
      <title>File temporary link generation doesn't work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-temporary-link-generation-doesn-t-work/m-p/605180#M28091</link>
      <description>&lt;P&gt;I am trying to generate a temporary link from test file with curl command, but this doesn't work and return this following error:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl: (92) HTTP/2 stream 1 was not closed cleanly before end of the underlying stream&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My Curl Request:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/files/get_temporary_link \
    --header "Authorization: Bearer &amp;lt;get access token&amp;gt;&lt;/PRE&gt;
&lt;PRE&gt;" \
    --header "Content-Type: application/json" \
    --data "{\"path\":\"/test/txt.txt\"}"&lt;/PRE&gt;
&lt;P&gt;I am putting the Access Token recently generated in "&amp;lt;get access token&amp;gt;" and I have created the folder and uploaded the file in following path of Dropbox:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/x2k3bzxeud3h06g/txt.txt?dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/x2k3bzxeud3h06g/txt.txt?dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand why this isn't working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to be helped.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 21:16:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-temporary-link-generation-doesn-t-work/m-p/605180#M28091</guid>
      <dc:creator>Amicao</dc:creator>
      <dc:date>2022-06-27T21:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: File temporary link generation doesn't work</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-temporary-link-generation-doesn-t-work/m-p/605198#M28093</link>
      <description>&lt;P&gt;I just replicated this setup and ran this code using my own test file/folder/access token, but the issue didn't reproduce for me. I received a successful reply from the API with the expected temporary link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still seeing this issue? If so, is there anything on the network connection, such as a proxy, firewall, VPN, anti-virus, etc., that may be interfering with your connections to api.dropboxapi.com? You may need to contact your network admin for help with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also want to try this on another device/network connection and see if it reproduces there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you may want to update your curl version, in case you're running in to a bug in the version of curl you're using. And to help debug this, you can enable verbose output with "-v".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, since this seems to be related to HTTP/2, you may be able to work around this by downgrading to HTTP/1.1 using "--http1.1", though that's not recommended.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 15:20:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-temporary-link-generation-doesn-t-work/m-p/605198#M28093</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-06-23T15:20:13Z</dc:date>
    </item>
  </channel>
</rss>

