Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
purringpgeon
9 years agoExplorer | 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 ...
- 9 years ago
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://.
purringpgeon
9 years agoExplorer | Level 4
Hi Greg,
I don't know what a PAC file is :)
Basically I am doing the following:
Check for existing back up - which consists of 4 files which is this call:
[[self.restClient.filesRoutes listFolder:@""]response:^(DBFILESListFolderResult * _Nullable result, DBFILESListFolderError * _Nullable routeError, DBRequestError * _Nullable error) {When this lands in the response section - that's when I get those three messages. I don't get them for:
[[self.restClient.filesRoutes uploadData:@"/ServiceReport.sqlite"
mode:mode
autorename: NULL
clientModified:NULL
mute:NULL
inputData:sqllite]response:^(DBFILESFileMetadata * _Nullable result , DBFILESUploadError * _Nullable routeError, DBRequestError * _Nullable error) {Or this one:
[[self.restClient.filesRoutes downloadData:@"/ServiceReport.sqlite"]response:^(DBFILESFileMetadata * _Nullable result, DBFILESDownloadError * _Nullable downloaderror, DBRequestError * _Nullable error, NSData * _Nonnull fileData) {
I can post my entire controller here if you would like - other than the auth - which I think is pretty standard stuff.
Greg-DB
Dropbox Community Moderator
9 years agoThanks 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://.
- purringpgeon9 years agoExplorer | Level 4
Well - I never would have seen that :) - I had Auto Proxy Detection on. Turned that off and the message went away.
Thanks!
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!