Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
PaulOuch
5 years agoExplorer | Level 3
getting Error Domain=NSURLErrorDomain Code=-1005 after list folder in iOS Swift
I get the error below when I am trying to list folder. Please help
Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingE...
Greg-DB
Dropbox Staff
5 years agoThat error is coming from the local network client, and seems to indicate an issue with the network connection. Especially since this doesn't happen on all devices, it looks like it may be caused by the network connections on those affected devices. Is there anything on those network connections that may be interfering with the calls to api.dropboxapi.com? E.g., any proxy, firewall, etc.? Are the devices able to access the Internet otherwise?
- PaulOuch15 years agoNew member | Level 2
Strange, this issue only occurs in a specific use case:
1/ launching of the app
2/ checking the existence of a specific folder (it’s at this step that the issue occurs)
3/ if not, creation of this folder (creation ok or “folder already exists” but no error -1005)
The app then makes lots of requests (to Dropbox or to a specific back-end) without problem
My device is connected to WiFi on an Internet ADSL router. My local network is very good, no proxy or FW…
- Greg-DB5 years ago
Dropbox Staff
I see, thanks for the information. That is certainly unexpected, as you're able to make calls later in the process, especially since the calls for checking for a folder go to the same Dropbox hostname as the ones for creating new folders.
Does the app do anything different for the first call? E.g., is it perhaps running before some other setup completes, or is the Dropbox client object handled different?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,973 PostsLatest Activity: 46 minutes 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!