<?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 Trigger or simulate errors in Python SDK in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/285902#M17535</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies if this is a duplicate question, but I haven't been able to find anything that covers this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a Python API with the Dropbox SDK to work with our files on Dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like our API to be able to handle Dropbox errors gracefully, using errorhandlers and the Dropbox exception classes, but for some of them, e.g., RateLimitError or InternalServerError, I'm not sure how I might go about triggering or simulating them. Of course, I can create a new instance of the exception classes in a shell and have a look, but this won't tell me much about what will usually be inside these objects, or how I'll be able to access their contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions as to how I can create, try out, and work with meaningful examples of these exceptions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:11:42 GMT</pubDate>
    <dc:creator>Laubwerk</dc:creator>
    <dc:date>2019-05-29T09:11:42Z</dc:date>
    <item>
      <title>Trigger or simulate errors in Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/285902#M17535</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies if this is a duplicate question, but I haven't been able to find anything that covers this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a Python API with the Dropbox SDK to work with our files on Dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like our API to be able to handle Dropbox errors gracefully, using errorhandlers and the Dropbox exception classes, but for some of them, e.g., RateLimitError or InternalServerError, I'm not sure how I might go about triggering or simulating them. Of course, I can create a new instance of the exception classes in a shell and have a look, but this won't tell me much about what will usually be inside these objects, or how I'll be able to access their contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions as to how I can create, try out, and work with meaningful examples of these exceptions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/285902#M17535</guid>
      <dc:creator>Laubwerk</dc:creator>
      <dc:date>2019-05-29T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger or simulate errors in Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/285938#M17538</link>
      <description>There isn't a way to directly trigger or simulate these unfortunately, but I'll pass this along as a feature request.</description>
      <pubDate>Mon, 23 Jul 2018 18:32:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/285938#M17538</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-23T18:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger or simulate errors in Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/286079#M17548</link>
      <description>&lt;P&gt;Thanks, that would be great!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 16:24:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Trigger-or-simulate-errors-in-Python-SDK/m-p/286079#M17548</guid>
      <dc:creator>Laubwerk</dc:creator>
      <dc:date>2018-07-24T16:24:07Z</dc:date>
    </item>
  </channel>
</rss>

