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
purringpgeon
8 years ago
Explorer | Level 4
Objective C Console Errors Should I be worried?
Hello,
(First sorry for the new user name, it wouldn't allow me back in...)
I sucessfully upgraded my app to use API v2 Objective C - however when running from the simulator when checking if I have an active account I get the following errors in the log - but they don't seem to stop anything and I can't locate where they are occurring.
2017-01-05 13:50:46.148 AppName[11111:111111] You are linked: <DropboxClient: 0x600000245a90>
2017-01-05 13:50:46.179 AppName[11111:111111] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
2017-01-05 13:50:46.196738 AppName[11111:111111] PAC Fetch failed with error [NSURLErrorDomain:-1022]
2017-01-05 13:50:46.197575 AppName[11111:111111] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1022
It seems to occur after this call
self.restClient.filesRoutes
-
Thanks for the additional information! I can't reproduce this issue using your code though, so it does seem there's something else going on.
I took a closer look at the output you shared, and the PAC/proxy messages cite error 1022, which is NSURLErrorAppTransportSecurityRequiresSecureConnection. That indicates it is the proxy attempt that's causing the App Transport Security failure.
The simulator uses your computers network connection, so I recommend checking the System Preferences > Network > Advanced > Proxies > Automatic Proxy Configuration for a Proxy Configuration File hosted on http://.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,899 Posts
Latest Activity: 10 months 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!