You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
pottmi
8 years agoExplorer | Level 4
Detecting Failure in App for Full dropbox
We have an iPhone app that is configured to upload files to dropbox.
Our dropbox account ran out of space, but the upload from the app finished without error message so we did not know the acco...
Steve L.26
New member | Level 2
Hijacking this thread for a moment, I've been using the [client.fileRoutes batchUploadFiles] method from https://github.com/dropbox/dropbox-sdk-obj-c and I can't see how to get at the 409 error response.
In the response block both finishBatchRouteError and finishBatchRequestError are nil and [fileUrlsToRequestErrors count] = 0.
Also iterating over the fileUrlsToBatchResultEntries and checking the
DBFILESUploadSessionFinishBatchResultEntry values I only see DBFILESUploadSessionFinishBatchResultEntryFailure.
Is there any way to check for a 409 error response when using this API?
Greg-DB
8 years agoDropbox Staff
Steve L.26 The batchUploadFiles method isn't a direct API call, but rather a convenience method built to wrap the various upload sessions calls, so it doesn't directly expose the API errors. It instead exposes different error cases via the different values in the overall response block that you mentioned.
If you want more control over the error handling, you can use the upload sessions calls directly. The SDK is open-source, so you can see and borrow from the batchUploadFiles implemantation here if you want.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!