<?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: Obj-C: Getting &amp;quot;over quota&amp;quot; error after session start for uploading chunks in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191572#M8399</link>
    <description>&lt;P&gt;Ah, okay, makes sense. I was thinking that the chunks were being stored against the user's Dropbox quota so would throw the error too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2016 18:10:35 GMT</pubDate>
    <dc:creator>Keith B.7</dc:creator>
    <dc:date>2016-10-21T18:10:35Z</dc:date>
    <item>
      <title>Obj-C: Getting "over quota" error after session start for uploading chunks</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191535#M8389</link>
      <description>&lt;P&gt;Whenever an API call fails, I like to check to see if the user is over their usage quota, and if so, I throw up a warning that they need to delete some files or upgrade their Dropbox account. As Greg previously explained, I can do this using the route error passed into the response methods, e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DBFILESUploadError *routeError = ...

if (routeError.isPath &amp;amp;&amp;amp; routeError.path.isInsufficientSpace)
    NSLog (@"Update your Dropbox account or tidy up!");&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there seems to be no way to do this after calling DBFILESRoutes -uploadSessionStartData:, because the callback for this method does not return a route error. Instead, it provides a&amp;nbsp;DBNilObject object where the route error would normally be. So how do I check for "over quota" (isInsuffientSpace) error in this case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I check the statusCode of the DBError? (In API 1, a 507 indicated that you were out of space, for instance.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and all the best,&lt;BR /&gt;Keith&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:29:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191535#M8389</guid>
      <dc:creator>Keith B.7</dc:creator>
      <dc:date>2019-05-29T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Obj-C: Getting "over quota" error after session start for uploading chunks</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191571#M8398</link>
      <description>&lt;P&gt;The start and append methods don't return space errors. Only the finish calls do, as that's when the final file size is known and checked against the available quota space when attempting to commit the file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:09:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191571#M8398</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-21T18:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Obj-C: Getting "over quota" error after session start for uploading chunks</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191572#M8399</link>
      <description>&lt;P&gt;Ah, okay, makes sense. I was thinking that the chunks were being stored against the user's Dropbox quota so would throw the error too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:10:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Obj-C-Getting-quot-over-quota-quot-error-after-session-start-for/m-p/191572#M8399</guid>
      <dc:creator>Keith B.7</dc:creator>
      <dc:date>2016-10-21T18:10:35Z</dc:date>
    </item>
  </channel>
</rss>

