<?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: 429 rate limit errors without &amp;quot;error&amp;quot; tag in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/709862#M3545</link>
    <description>&lt;P&gt;Thanks for the report! We'll look into it.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 18:57:29 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-08-28T18:57:29Z</dc:date>
    <item>
      <title>429 rate limit errors without "error" tag</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/709587#M3542</link>
      <description>&lt;P&gt;According to the API docs, rate limiting errors (429) will have the following format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;The Content-Type of the response can be JSON or plaintext. If it is JSON, it will be type&amp;nbsp;&lt;A&gt;RateLimitError.&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've recently seen an increasing number of reports from users of my app, using the Dropbox Python SDK, where 429 errors with&amp;nbsp;content-type 'application/json' don't conform to the expected JSON structure. In particular, they don't contain an "error" tag, leading to exceptions when the SDK tries to deserialise them as RateLimitError in &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/487793dff3c5a8a3a76010799dc4803cabdb70f3/dropbox/dropbox_client.py#L644-L649" target="_blank" rel="noopener"&gt;https://github.com/dropbox/dropbox-sdk-python/blob/487793dff3c5a8a3a76010799dc4803cabdb70f3/dropbox/dropbox_client.py#L644-L649&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;            err = None
            if res.headers.get('content-type') == 'application/json':
                err = stone_serializers.json_compat_obj_decode(
&amp;gt;                   RateLimitError_validator, res.json()['error'])
E               KeyError: 'error'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anything changed in the expected body of error responses?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 19:48:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/709587#M3542</guid>
      <dc:creator>Sam80</dc:creator>
      <dc:date>2023-08-28T19:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: 429 rate limit errors without "error" tag</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/709862#M3545</link>
      <description>&lt;P&gt;Thanks for the report! We'll look into it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:57:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/709862#M3545</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-08-28T18:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: 429 rate limit errors without "error" tag</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/710795#M3563</link>
      <description>&lt;P&gt;The team has pushed out a change that should fix this. Please let us know if you're still seeing any instances of this now. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 20:35:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/710795#M3563</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-08-31T20:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: 429 rate limit errors without "error" tag</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/710799#M3564</link>
      <description>&lt;P&gt;Thank you for the quick fix!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 20:45:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/429-rate-limit-errors-without-quot-error-quot-tag/m-p/710799#M3564</guid>
      <dc:creator>Sam S.6</dc:creator>
      <dc:date>2023-08-31T20:45:52Z</dc:date>
    </item>
  </channel>
</rss>

