Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

r. joy's avatar
r. joy
New member | Level 1
11 years ago

ios9 ,canOpenURL: failed for URL: "dbapi-2...

Ios9 system, access to login screen I get the following error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)",

so , I add "dbapi-2" to LSApplicationQueriesSchemes,

but, the error is  still there 

27 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Thanks Sergey, I see you mentioned this in your new thread, so we'll look into it and follow up there.

  • William P.10's avatar
    William P.10
    Explorer | Level 4
    10 years ago

    Same problem happening with your sample app. I guess it is too much to ask for a working example with the latest iOS system. I know that would take at least 30 minutes to update so I assume you will deprecate core api like you did sync and leave us stranded again. Perhaps I should move my customers elsewhere.

    This is after adding code so the the window appears.

    2016-02-19 13:47:59.195 DBRoulette[2433:157598] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "This app is not allowed to query for scheme dbapi-2"

    2016-02-19 13:47:59.200 DBRoulette[2433:157598] Warning: Attempt to present <UINavigationController: 0x7fa0ac837c00> on <RootViewController: 0x7fa0ab739370> whose view is not in the window hierarchy!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Thanks for the report William! The DBRoulette app does need to be updated to register for that URL scheme. I'll send this along to the team.

  • Hasan Shahid F.'s avatar
    Hasan Shahid F.
    New member | Level 1
    10 years ago

    It appears that many (if not all) are facing the same issue.. No solution yet?!?

  • William P.10's avatar
    William P.10
    Explorer | Level 4
    10 years ago

    Gregory,

    Unexpected behavior? It doesn't work. I already had read the post you linked to so your comment was no help. I suggest you try it yourself. Obviously I am not the only one that is having an issue. Regards

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    HI William, are you referring to the sample app? I was referring to the unspecified issues Hasan mentioned.

    We're aware of the issues in the latest version of the sample app, and I do apologize for the inconvenience. Until we released an updated version, you'll need to make the changes to get it to work. If you've done so and still aren't getting it running, please open a thread with the details so we can help. E.g., what changes you've made, the code where it fails, what happens and what you expected to happen, and the output you're getting. Thanks in advance! 

About Dropbox API Support & Feedback

Node avatar for 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!