cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Jonas B.6
New member | Level 1

I installed everything like they say in this tutorial: 
And this is the output i get from xcode, when i try to sign in using the iPhone 6s simulator. 

2016-02-06 22:05:42.592 DBDemo[16063:892330] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"

2016-02-06 22:06:05.257 DBDemo[16063:892330] -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10

2016-02-06 22:06:05.258 DBDemo[16063:892330] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10

2016-02-06 22:06:05.260 DBDemo[16063:892330] [WARNING] DropboxSDK: error loading DBConnectController - Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSUnderlyingError=0x7f90a2f2ce70 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "unsupported URL" UserInfo={NSErrorFailingURLStringKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSLocalizedDescription=unsupported URL, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>}}, NSErrorFailingURLStringKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSLocalizedDescription=unsupported URL}

 

Please help me understand what i am supposed to do about this? I have written the key and the secret in like im supposed to (I think) And the info.plist file also has the LSApplicationQueriesSchemes and the dbapi-2, like its supposed to.

10 Replies 10

Jonas B.6
New member | Level 1

THANK YOU SO MUCH!!!!!!!
I have spend far too much time trying to fix this, and then you fix it in a day!
THANK YOU THANK YOU THANK YOU !!!
:D:DD::D:D

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Jonas B.6 New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?