One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Pablo78
8 years agoExplorer | Level 3
OSStatus error -10814 when trying DBRoulette app
Hi,
I'm currently trying to run the DBRoulette app in I always have the following errors.
2017-12-13 21:42:39.916165+0100 DBRoulette[20354:830384] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-12-13 21:42:39.917405+0100 DBRoulette[20354:830384] -canOpenURL: failed for URL: "dbapi-8-emm://1/connect" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
I use XCode 9.2 and I followed instructions on https://github.com/dropbox/dropbox-sdk-obj-c
I mean creating a Dropbox app, getting the APP_KEY, running pod update, modifying info.plist...
From the forums it seems I'm not using the official DP SDK, but I'm running the sample wih ObjectiveDropboxOfficial...
Any idea?
Thanks
Thanks! I've seen that happen when the Dropbox web site isn't allowed on the device due to website restrictions:
Settings > General > Restrictions > Websites
Can you try disabling that restriction and let me know if that helps?
- Greg-DB
Dropbox Staff
The 10814 errors themselves are expected if the official Dropbox app isn't installed, so they're safe to ignore. The SDK should automatically fall back to processing the app authorization flow in Safari in that case. (More specifically, it should present a SFSafariViewController with the OAuth 2 app authorization flow on the Dropbox web site.)
Is that part not working for you?- Pablo78Explorer | Level 3
Indeed when I click on the link "Link to Dropbox account" in the view "Link Account" I see the Safari page loaded with www.dropbox.com, then after a couple of seconds it comes back to the view "Link Account".
I also have the following message in the console:
2017-12-13 22:12:35.334618+0100 DBRoulette[21151:877961] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
- Greg-DB
Dropbox Staff
That console message is unrelated to this flow and can also be ignored.
When you tap "Link to Dropbox account" you should be presented with the Dropbox log in page, or the app authorization page if already logged in. This is working properly for me.
What version of the Dropbox SDK do you have installed, and have you made any modifications to the DBRoulette app?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 2 days 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!