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

Eric S.59's avatar
Eric S.59
New member | Level 1
9 years ago

Console error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"

When using SwiftyDropbox and calling

Dropbox.authorizeFromController(self)

I see the following error in the console: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"

I observed this issue in the PhotoWatch app as well as my own app. Is there a fix for this issue?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The error:"(null)" indicates that this is working properly. Are you seeing any broken functionality?

    This is related to new protections in iOS 9, but as long as you've set up the SDK as documented, which is sounds like you have, this log message can be safely ignored. 

  • Eric S.59's avatar
    Eric S.59
    New member | Level 1

    Ok, now that makes sense. I didn't understand the message. Can Dropbox fix the message so it's more meaningful?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,909 PostsLatest Activity: 2 hours ago
333 Following

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!