<?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: delete_batch returns internal error consistently when deleting more than 3425 files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252160#M14535</link>
    <description>Thanks! These two jobs that returned an empty response actually completed. If you check the file listing, you should see the changes reflected. They're just hitting a different issue where the call to check the job status itself failed (with a 500 error). We're looking into that.&lt;BR /&gt;&lt;BR /&gt;Are you still seeing jobs explicitly returning internal_error now though? If so, please share one of those job IDs so I can check on it for you. Thanks!&lt;BR /&gt;&lt;BR /&gt;If you're not seeing them anymore, they were likely just transient server-side issues. You should have your app retry the jobs (i.e., run them again, don't just check the status again) when it fails with internal_error.</description>
    <pubDate>Fri, 10 Nov 2017 20:43:07 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-11-10T20:43:07Z</dc:date>
    <item>
      <title>delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251620#M14482</link>
      <description>&lt;P&gt;I was using the delete API call to remove a folder that contained more than 10k files when I saw the too_many_files error.&amp;nbsp; I switched over to the delete_batch API call in order to bypass this error, but received the same error at 10,001 files.&amp;nbsp; I decided to send smaller chunks, but when trying to use delete_batch with more than 3425 files, I consistently get an internal error reported.&amp;nbsp; When I reduced the number of files to be sent to the delete_batch API call to 3422, I was successful in deleting 3422 files the first go around, then received the internal error for any subsequent calls to delete_batch.&amp;nbsp; I'm having a hard time writing reliable code to this endpoint without fully understanding it's limits and don't want to resort to deleting files one at a time since this will take much longer.&amp;nbsp; This code was being used for performance testing and the issue first documented when deleting a folder with 100k files.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:17:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251620#M14482</guid>
      <dc:creator>skysync</dc:creator>
      <dc:date>2019-05-29T09:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251625#M14484</link>
      <description>Thanks for the report! We do unfortunately currently return internal_error when a more specific error would be more helpful. I'm sending this along to the team, but I can't make any promises as to if/when this would be improved.&lt;BR /&gt;&lt;BR /&gt;If you share the job ID though, I may be able to look into it and share some information as to the specific issue. (Or, feel free to open an API ticket here if you'd prefer to share privately: &lt;A href="https://www.dropbox.com/developers/contact" target="_blank"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt; )</description>
      <pubDate>Tue, 07 Nov 2017 20:37:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251625#M14484</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-07T20:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251947#M14507</link>
      <description>&lt;P&gt;Hi, here's a job ID to look into:&amp;nbsp;dbjid:AABmns5UvrGc8_P9u_aHxWgCafbeZL1ejUfh1LaMShLO2s-gLpFA8wKeNJ_CtWUufwrTWwQ6d1m4ylYsIOvR5Mq6&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:17:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251947#M14507</guid>
      <dc:creator>skysync</dc:creator>
      <dc:date>2017-11-09T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251960#M14510</link>
      <description>Thanks! I'm looking into it. When you called /2/files/delete_batch/check for this one in particular though, can you confirm if you got a response body containing a internal_error, or did you actually just get a 500 on the call itself?</description>
      <pubDate>Thu, 09 Nov 2017 17:34:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/251960#M14510</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-09T17:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252156#M14534</link>
      <description>&lt;P&gt;This is the result I received:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error_summary": "internal_error/..",&lt;BR /&gt;"error": {&lt;BR /&gt;".tag": "internal_error"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the jobID below, returned nothing:&lt;/P&gt;&lt;P&gt;dbjid:AABvdNk9LAAlE1U8IZVO2Ak3vawOviEm72PYHhVaDzQKPdV5t-Clc26PwhDLTr3EHGbAFVTqplZprCcMm9KsWs7A&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 20:24:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252156#M14534</guid>
      <dc:creator>skysync</dc:creator>
      <dc:date>2017-11-10T20:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252160#M14535</link>
      <description>Thanks! These two jobs that returned an empty response actually completed. If you check the file listing, you should see the changes reflected. They're just hitting a different issue where the call to check the job status itself failed (with a 500 error). We're looking into that.&lt;BR /&gt;&lt;BR /&gt;Are you still seeing jobs explicitly returning internal_error now though? If so, please share one of those job IDs so I can check on it for you. Thanks!&lt;BR /&gt;&lt;BR /&gt;If you're not seeing them anymore, they were likely just transient server-side issues. You should have your app retry the jobs (i.e., run them again, don't just check the status again) when it fails with internal_error.</description>
      <pubDate>Fri, 10 Nov 2017 20:43:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252160#M14535</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-10T20:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252427#M14552</link>
      <description>&lt;P&gt;These jobs never removed the files.&amp;nbsp; I've been running additional testing&amp;nbsp;using the same directory and adding and removing files.&amp;nbsp; I assumed the job ID was being used to look at logs, etc.&amp;nbsp; Sorry I didn't leave the directory in tact for troubleshooting.&amp;nbsp; My code is setup to retry whenever I hit those errors, but the errors are fairly frequent and I rairly received a success when I sent 7000+ files at a time.&amp;nbsp; I received the most consistent results around 3000 or 4000 files per request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 20:36:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252427#M14552</guid>
      <dc:creator>skysync</dc:creator>
      <dc:date>2017-11-13T20:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: delete_batch returns internal error consistently when deleting more than 3425 files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252442#M14555</link>
      <description>Thanks! I'll need to investigate further. Can you supply the latest job ID that explicitly failed with internal_error? Thanks in advance!</description>
      <pubDate>Mon, 13 Nov 2017 22:36:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/delete-batch-returns-internal-error-consistently-when-deleting/m-p/252442#M14555</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-11-13T22:36:51Z</dc:date>
    </item>
  </channel>
</rss>

