We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Christian T.16
10 years agoNew member | Level 1
parsing upload session finish error
Can you provide an example of how to parse an upload session finish error. Here's what I have but none of these cases are triggered. I do get Error but no further details. Thanks.
...
Steve M.
Dropbox Staff
10 years agoChristian, kudos on getting this working!
See https://gist.github.com/smarx/4bd20487ddf37a5942bf for my quick take on this. The main difference in the structure of my code is that I'm using recursion instead of a while loop. This lets me get rid of the threading and semaphore in your code. I think that my approach is the more natural one when dealing with async callbacks like you'll find throughout SwiftyDropbox. (Note, though, that my error handling is much more primitive than yours!)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!