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

Forum Discussion

Ben K.17's avatar
Ben K.17
Explorer | Level 3
11 years ago

Getting error: "This app is not allowed to query for scheme dbapi-2" after upgrade to version 1.3.13 for iOS

I recently upgraded my dropbox SDK to version 1.3.13 to support 64-bit devices.  However, I am now getting the error:

-canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "This app is not allowed to query for scheme dbapi-2"

Do I need to generate a new key to use this version?

Thanks

7 Replies

Replies have been turned off for this discussion
  • Mark's avatar
    Mark
    Icon for Super User II rankSuper User II
    11 years ago

    *moves to API forum as you're more likely to get help there*

  • Ben K.17's avatar
    Ben K.17
    Explorer | Level 3
    11 years ago

    Yes, that's correct, and this did soleve it thanks. This requires that the dropbox mobile app must be on the device also, and I didn't think that was required before.  Do I have that wrong?

     

    Thanks, again

  • I assume you're using the Core API and seeing this during auth?

    If so, no the Dropbox app doesn't need to be installed. If the app is present, a streamlined authorization will happen in the Dropbox app. If it's not present, the authorization will happen in a web view embedded in your app.

  • Victor A.14's avatar
    Victor A.14
    New member | Level 1
    11 years ago

    Hi Steve,

     

    Can you please elaborate? I have the same problem after updating to IOS 9.1 (xcode 7.1.1). I have included dbapi-1, dbapi-2 and dbapi-3 in LSApplicationQueriesSchemes. Now I can access to save and load to Dropbox again, but just if the app is installed. If the app is not installed I keep getting the  error: 

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

    It used to work before.

  • Victor A.14's avatar
    Victor A.14
    New member | Level 1
    11 years ago

    Hi Gregory,

    Sorry. It was my fault. I was presenting this:

    [[DBSession sharedSession] linkFromController:this];

    from the wrong controller.

    It's all right now with the dbapi-2 application queries scheme.

    Thank you.

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!