<?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: Intermittent Error 500 when uploading files using temporary upload links (API v2) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432872#M22889</link>
    <description>&lt;P&gt;Yes, that's correct. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 20:18:50 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-06-26T20:18:50Z</dc:date>
    <item>
      <title>Intermittent Error 500 when uploading files using temporary upload links (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432818#M22886</link>
      <description>&lt;P&gt;I use the API v2 to get temporary upload links for a bunch of files, then they are uploaded to dropbox using POST requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of the files upload OK, but I get error 500 for some files. I am beginner with js, so the issue may be on my side, but the code 500 means server error. Several files are uploaded at the same time (most of them successfully), which may be the cause of the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below some request IDs if useful:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR upload fail. Status 500&lt;BR /&gt;Response header: content-type: application/json&lt;BR /&gt;x-dropbox-request-id: 1ec048e8992cf7ff2a97e2ffc2d23327&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR upload fail. Status 500&lt;BR /&gt;Response header: content-type: application/json&lt;BR /&gt;x-dropbox-request-id: 906d4645a06831bf602eb1a3372a73d8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR upload fail. Status 500&lt;BR /&gt;Response header: content-type: application/json&lt;BR /&gt;x-dropbox-request-id: f3eb5ddbbae94be4bed6906cbca03f5e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:17:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432818#M22886</guid>
      <dc:creator>sebbelese</dc:creator>
      <dc:date>2020-06-26T16:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Error 500 when uploading files using temporary upload links (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432845#M22887</link>
      <description>&lt;P&gt;Thanks for the report! I just looked into this based on the request IDs, and this is due to "lock contention". You can find more information on that in &lt;A href="https://www.dropbox.com/developers/reference/data-ingress-guide" target="_self"&gt;the Data Ingress Guide&lt;/A&gt;. That guide refers to the standard API endpoints, but the same applies to temporary upload links too. We should certainly return a better error message in this case though, so I'll ask the team to update the server to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, to avoid this, you should perform these uploads one at a time.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 20:16:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432845#M22887</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-26T20:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Error 500 when uploading files using temporary upload links (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432870#M22888</link>
      <description>&lt;P&gt;Thanks for the fast and clear answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess there is currently no way to upload a whole set of files together directly from a browser while not sharing the access token publicly. Are the following options the only ones?&lt;/P&gt;&lt;P&gt;- generate an upload link server-side for each file, then direct upload each file serially to avoid locks&lt;/P&gt;&lt;P&gt;- upload all files from the client to the web server, then upload batch from the server to dropbox&lt;/P&gt;&lt;P&gt;- ( direct upload batch from the client to dropbox, with the access token publicly shared )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 19:54:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432870#M22888</guid>
      <dc:creator>sebbelese</dc:creator>
      <dc:date>2020-06-26T19:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent Error 500 when uploading files using temporary upload links (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432872#M22889</link>
      <description>&lt;P&gt;Yes, that's correct. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 20:18:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Intermittent-Error-500-when-uploading-files-using-temporary/m-p/432872#M22889</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-26T20:18:50Z</dc:date>
    </item>
  </channel>
</rss>

