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
11 years agoExplorer | Level 3
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
- Mark11 years ago
Super User II
*moves to API forum as you're more likely to get help there*
- Steve M.11 years ago
Dropbox Staff
(Thanks, Mark!)
Ben, I assume you're using iOS 9? Take a look at https://blogs.dropbox.com/developers/2015/08/important-update-your-core-api-app-for-ios-9/.
- Ben K.1711 years agoExplorer | Level 3
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
- Steve M.11 years ago
Dropbox Staff
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.1411 years agoNew member | Level 1
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.
- Greg-DB11 years ago
Dropbox Community Moderator
Hi Victor, it looks like you posted on two threads, so I'll follow up on the other one:
- Victor A.1411 years agoNew member | Level 1
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
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!