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
Keith B.7
9 years agoHelpful | Level 7
-uploadSessionFinishBatchCheck: - Getting path from errors
Great, thank you again. I now have most of this working with one thing I still haven't managed: - If DBFILESUploadSessionFinishBatchResultEntry results in -isFailure, how do I get the path the ent...
Greg-DB
9 years agoDropbox Staff
Sorry about the trouble with the forum! I think that got cleared up though, so I went and deleted the duplicates.
Anyway, these failure results don't return the session ID or path. (There's some complexity here unfortunately, but we'll consider it a feature request.) Instead, you should use the index of the result in the result list to correlate back to the list sent to FinishBatch.
- Keith B.79 years agoHelpful | Level 7
Thanks for retrieving my post!
Thanks for the reply, too. I realised that one way I could get a list of the failures was by checking a cached list of what was currently being uploaded against the meta-data for successful uploaded files - everything else being a failure.
Using the index is even better, though: so is it always safe to assume that the [(DBFILESUploadSessionFinishBatchJobStatus *)status complete].entries, array will be in the same order as the finish args passed into -uploadSessionFinishBatch:? (I'm used to results like this having no guaranteed order.)
Thanks,
Keith
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,919 PostsLatest Activity: 10 hours ago
If 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!