Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Joe Z.1
9 years agoExplorer | Level 3
Swift 3.0 - no httpError when network connection down
when there is no network connection, the error type is NOT httpError although the description clearly contains the correct domain and code of -1009
4 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
It sounds like you're referring to the SwiftyDropbox library. What version number are you using, and what error are you getting? You may get a clientError in this case. There's a sample of handling these high level errors here:
https://github.com/dropbox/SwiftyDropbox#generic-network-request-errors
- Joe Z.19 years agoExplorer | Level 3I am using the latest SwiftyDropbox and for an offline network connection I should be getting an httpError with code. Instead I am getting a clientError. Its description clearly says code=-1009, Internet Connection appears to be down. So why not making this an httpError?
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks! I'll send this along as a request to change that error handling.
- Joe Z.19 years agoExplorer | Level 3thanks for your continued support
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!