<?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 Parallel file upload fails in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174622#M6837</link>
    <description>&lt;P&gt;My app uses core api v1. When I try to upload 10+ files into my dropbox account, a few of them randomly fails with response:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[..]&lt;BR /&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Dropbox - 403&amp;lt;/title&amp;gt;
&amp;lt;link href="//www.dropbox.com/static/css/error.css" rel="stylesheet" type="text/css"/&amp;gt;&lt;BR /&gt;[..]&lt;BR /&gt;&lt;BR /&gt;It does not occur when uploading a single file.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 May 2019 09:34:13 GMT</pubDate>
    <dc:creator>Győző C.</dc:creator>
    <dc:date>2019-05-29T09:34:13Z</dc:date>
    <item>
      <title>Parallel file upload fails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174622#M6837</link>
      <description>&lt;P&gt;My app uses core api v1. When I try to upload 10+ files into my dropbox account, a few of them randomly fails with response:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[..]&lt;BR /&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Dropbox - 403&amp;lt;/title&amp;gt;
&amp;lt;link href="//www.dropbox.com/static/css/error.css" rel="stylesheet" type="text/css"/&amp;gt;&lt;BR /&gt;[..]&lt;BR /&gt;&lt;BR /&gt;It does not occur when uploading a single file.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174622#M6837</guid>
      <dc:creator>Győző C.</dc:creator>
      <dc:date>2019-05-29T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel file upload fails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174623#M6838</link>
      <description>&lt;P&gt;A 403 error with an HTML body is unexpected when using the API. Can you share some sample code that reproduces this?&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:44:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174623#M6838</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-12T23:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel file upload fails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174624#M6839</link>
      <description>&lt;P&gt;My bad, the 403 response was not for these requests. However some files are still missing. It can be reproduced with this:&lt;/P&gt;
&lt;P&gt;#!/bin/bash&lt;BR /&gt;for i in `seq 10 19`;&lt;BR /&gt;do&lt;BR /&gt; curl -H "Authorization: Bearer &amp;lt;my token&amp;gt;" &lt;A href="https://api-content.dropbox.com/1/files_put/auto/" rel="nofollow noreferrer"&gt;https://api-content.dropbox.com/1/files_put/auto/&lt;/A&gt; -T file$i &amp;amp;&lt;BR /&gt;done;&lt;/P&gt;
&lt;P&gt;Now I can see that the response for the missing files is:&lt;/P&gt;
&lt;P&gt;{"error": "Failed to grab locks for 532934897: lock held by connection 4695316.Please re-issue the request."}&lt;/P&gt;
&lt;P&gt;Is there a queue I can use on your side for file upload? Else I guess I have to check the response and retry if necessary. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 19:55:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174624#M6839</guid>
      <dc:creator>Győző C.</dc:creator>
      <dc:date>2016-04-13T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel file upload fails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174625#M6840</link>
      <description>&lt;P&gt;That error can occur in some cases, in which case the response status code will be 503. If the response status code is non-200, you should consider the upload failed.&lt;/P&gt;
&lt;P&gt;This error generally indicates that there was simultaneous activity in the account preventing your app from making the state-modifying call (e.g., adding or removing files) it is attempting. The simultaneous activity could be coming from your app itself, or elsewhere, e.g., from a user's desktop client.&lt;/P&gt;
&lt;P&gt;You can't queue these on our side, so the best practice is to reduce the number of simultaneous requests and to just retry a request, respecting the Retry-After header if given, or after a small delay possibly with an exponential back-off, when receiving this error.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 00:42:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Parallel-file-upload-fails/m-p/174625#M6840</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-14T00:42:20Z</dc:date>
    </item>
  </channel>
</rss>

