Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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?
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
It is what I expected (login page).
I didn't modify the DBRoulette app (except adding the APP_KEY in info.plist and in code).
When executing "pod update", I saw version 3.4.0
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?
Great! It worked running from a connected device (iPhone)!
But from simulator, no such preference. Anyway working from the device solved my issue.
Thanks!
Hi there!
If you need more help you can view your support options (expected response time for a 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!