<?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: Recommended Error Strategies? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147080#M4776</link>
    <description>&lt;P&gt;There really is no documentation in the Swifty docs that discusses what you should do when various errors do occur - the closest I could find is here -&amp;nbsp;&lt;A href="https://www.dropbox.com/developers-v1/core/docs" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs&lt;/A&gt; under the Standard API Errors section. THanks!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2016 03:21:35 GMT</pubDate>
    <dc:creator>TK K.</dc:creator>
    <dc:date>2016-02-24T03:21:35Z</dc:date>
    <item>
      <title>Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147072#M4768</link>
      <description>&lt;P&gt;After successfully integrating DropBox into an iOS app in the expected cases, I decided to do some nasty things and learn more about error handling.&lt;/P&gt;
&lt;P&gt;Namely I went and deleted the DropBox App/MyAppName folder on the dropbox, then let the app go for it. I started getting 401 errors "User has removed their App folder." - so I went about handling this error by requiring the user to reauthenticate completely&lt;/P&gt;
&lt;P&gt;Now I am wondering what other errors unrelated to things done in my app do I need to be aware of and how should I handle them? Of course connectivity errors are easy, but is there a specific reference showing all the DB errors and anything about what generates them and how an app should respond?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147072#M4768</guid>
      <dc:creator>TK K.</dc:creator>
      <dc:date>2019-05-29T09:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147073#M4769</link>
      <description>&lt;P&gt;What API/SDK are you using in particular?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:22:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147073#M4769</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-23T08:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147074#M4770</link>
      <description>&lt;P&gt;ios&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:14:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147074#M4770</guid>
      <dc:creator>TK K.</dc:creator>
      <dc:date>2016-02-23T09:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147075#M4771</link>
      <description>&lt;P&gt;Sorry, I should have been clearer, I was referring to the&amp;nbsp;Dropbox SDK you're using (if any). For example, are you using the&amp;nbsp;&lt;A href="https://www.dropbox.com/developers-v1/core/sdks/ios" target="_blank" rel="nofollow noreferrer"&gt;Dropbox iOS Core SDK&lt;/A&gt; for API v1, or the newer &lt;A href="https://www.dropbox.com/developers/documentation/swift" target="_blank" rel="nofollow noreferrer"&gt;SwiftyDropbox SDK&lt;/A&gt; for API v2?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 02:41:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147075#M4771</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T02:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147076#M4772</link>
      <description>&lt;P&gt;v1&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 02:45:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147076#M4772</guid>
      <dc:creator>TK K.</dc:creator>
      <dc:date>2016-02-24T02:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147077#M4773</link>
      <description>&lt;P&gt;So are you using the SDK or calling the API directly?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 02:46:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147077#M4773</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T02:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147078#M4774</link>
      <description>&lt;P&gt;I am using the SDK for which there is no documentation - so I am looking for a reference that teaches the error codes that are passed on and how a well behaved DB app should handle them. I already figured out any 401 errors require total reauthentication.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:02:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147078#M4774</guid>
      <dc:creator>TK K.</dc:creator>
      <dc:date>2016-02-24T03:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147079#M4775</link>
      <description>&lt;P&gt;Thanks! Yes, unfortunately we don't have good documentation around this for the iOS Core SDK. (If you're just starting out and can use Swift though, you may want to use the &lt;A href="https://www.dropbox.com/developers/documentation/swift" target="_blank" rel="nofollow noreferrer"&gt;Dropbox SwiftyDropbox SDK&lt;/A&gt; instead, which has better documentation and more explicit error handling.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, it sounds like you've already handled sessionDidReceiveAuthorizationFailure on DBSession. That covers authorization failures.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For other&amp;nbsp;errors, you should make sure to implement the error callbacks for whatever methods you're using. You can find the full list in DBRestClient.h, along with some more comments about them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:12:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147079#M4775</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-24T03:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recommended Error Strategies?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147080#M4776</link>
      <description>&lt;P&gt;There really is no documentation in the Swifty docs that discusses what you should do when various errors do occur - the closest I could find is here -&amp;nbsp;&lt;A href="https://www.dropbox.com/developers-v1/core/docs" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers-v1/core/docs&lt;/A&gt; under the Standard API Errors section. THanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 03:21:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Recommended-Error-Strategies/m-p/147080#M4776</guid>
      <dc:creator>TK K.</dc:creator>
      <dc:date>2016-02-24T03:21:35Z</dc:date>
    </item>
  </channel>
</rss>

