Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Joe Z.1
9 years agoExplorer | Level 3
Swift SDK - no code returned for 'HTTPError'
I am using the Swift SDK v2 and I want to be able to interpret errors returned when there is no internet connection. So for
files.listFolder
the returned error only contains a description saying...
Greg-DB
Dropbox Community Moderator
9 years agoHi Joe, when offline, the HTTPError case doesn't contain any useful specific HTTP error information as you saw (since there was no response to use). For now you can just consider this case to be a general network failure, but I'll send this along as a feature request to expose the more specific underlying error from the network connection.
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!