<?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: ServiceUnavailable 503 when doing a lot of requests - expected rate limit error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/768999#M33612</link>
    <description>&lt;P&gt;Dropbox does currently use 429 for explicit rate limiting, but there are a number of different error cases, some of which may return a 500 or 503. (The way these were handled has changed somewhat over the years and across API versions.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case that you get a 5xx (such as 500 or 503), retrying the request after a short delay, with an exponential backoff as you mentioned, is a good way to handle these.&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 17:14:41 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-05-07T17:14:41Z</dc:date>
    <item>
      <title>ServiceUnavailable 503 when doing a lot of requests - expected rate limit error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/768932#M33608</link>
      <description>&lt;P&gt;When there are a lot of requests to the API, at some point a 503 - ServiceUnavailable error code is returned. The documentation does not cover this case (&lt;A href="https://developers.dropbox.com/error-handling-guide" target="_blank"&gt;https://developers.dropbox.com/error-handling-guide&lt;/A&gt;&amp;nbsp;mentions 500, but not 503).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the .NET SDK there's this note:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/a7d7f817e38b799ef13e35b7d1bf6b68b170f992/dropbox-sdk-dotnet/Dropbox.Api/DropboxRequestHandler.cs#L396" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet/blob/a7d7f817e38b799ef13e35b7d1bf6b68b170f992/dropbox-sdk-dotnet/Dropbox.Api/DropboxRequestHandler.cs#L396&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// dropbox maps 503 - ServiceUnavailable to be a rate limiting error.&lt;BR /&gt;// do not count a rate limiting error as an attempt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The comment was added a long time ago - is it still valid and correct? Am I good to just wait a few seconds (maybe with some exponential backoff) and retry the request?&lt;/P&gt;&lt;P&gt;Why is a 503 error returned instead of a JSON indicating a rate limit problem (e.g. with error "too_many_requests")?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 14:16:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/768932#M33608</guid>
      <dc:creator>tipako</dc:creator>
      <dc:date>2024-05-07T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceUnavailable 503 when doing a lot of requests - expected rate limit error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/768999#M33612</link>
      <description>&lt;P&gt;Dropbox does currently use 429 for explicit rate limiting, but there are a number of different error cases, some of which may return a 500 or 503. (The way these were handled has changed somewhat over the years and across API versions.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case that you get a 5xx (such as 500 or 503), retrying the request after a short delay, with an exponential backoff as you mentioned, is a good way to handle these.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 17:14:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/768999#M33612</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-07T17:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceUnavailable 503 when doing a lot of requests - expected rate limit error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/769171#M33618</link>
      <description>&lt;P&gt;Thanks for the confirmation. I think it would be great if this information could be added to the API's "error handling guide", which already covers other HTTP result codes, but not this one. Judging by the amount of posts here in the forums, the 503 code is confusing many developers&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 06:54:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/769171#M33618</guid>
      <dc:creator>tipako</dc:creator>
      <dc:date>2024-05-08T06:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceUnavailable 503 when doing a lot of requests - expected rate limit error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/769260#M33622</link>
      <description>&lt;P&gt;Thanks for the feedback!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 14:54:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ServiceUnavailable-503-when-doing-a-lot-of-requests-expected/m-p/769260#M33622</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-08T14:54:49Z</dc:date>
    </item>
  </channel>
</rss>

