<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: -canOpenURL: failed for URL: &amp;quot;dbapi-2://1/connect&amp;quot; - error: &amp;quot;(null)&amp;quot; in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134730#M4039</link>
    <description>&lt;P&gt;Thanks for clarifying. So it sounds like the login/app authorization flow doesn't work when you get the "unsupported URL" error?&lt;/P&gt;
&lt;P&gt;It looks like you're using the &lt;A href="https://www.dropbox.com/developers-v1/core/sdks/ios" target="_blank" rel="nofollow noreferrer"&gt;iOS Core SDK&lt;/A&gt;&amp;nbsp;in a Swift project. Can you share the relevant code snippets from your app as text so we can try to reproduce this and track down the issue? (Or if you have a sample project to share that would be even better.)&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 07:07:40 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-02-11T07:07:40Z</dc:date>
    <item>
      <title>-canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134725#M4034</link>
      <description>&lt;P&gt;I installed everything like they say in this tutorial:&amp;nbsp;&lt;BR /&gt;And this is the output i get from xcode, when i try to sign in using the iPhone 6s simulator.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2016-02-06 22:05:42.592 DBDemo[16063:892330] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2016-02-06 22:06:05.257 DBDemo[16063:892330] -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2016-02-06 22:06:05.258 DBDemo[16063:892330] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: &amp;lt;NSInvalidArgumentException&amp;gt; -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;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=&amp;lt;redacted&amp;gt;&amp;amp;state=6B034EB3-102A-42D0-9578-BE165BAA26D1&amp;amp;oauth_token=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;uid=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;, NSLocalizedDescription=unsupported URL, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;state=6B034EB3-102A-42D0-9578-BE165BAA26D1&amp;amp;oauth_token=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;uid=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;}}, NSErrorFailingURLStringKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;state=6B034EB3-102A-42D0-9578-BE165BAA26D1&amp;amp;oauth_token=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;uid=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;state=6B034EB3-102A-42D0-9578-BE165BAA26D1&amp;amp;oauth_token=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;&amp;amp;uid=&lt;STRONG&gt;&amp;lt;redacted&amp;gt;&lt;/STRONG&gt;, NSLocalizedDescription=unsupported URL}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134725#M4034</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2019-05-29T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134726#M4035</link>
      <description>&lt;P&gt;This is the guide i followed:&lt;BR /&gt;&lt;A href="http://www.appcoda.com/dropbox-api-tutorial/" rel="nofollow noreferrer"&gt;http://www.appcoda.com/dropbox-api-tutorial/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2016 05:16:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134726#M4035</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-07T05:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134727#M4036</link>
      <description>&lt;P&gt;some screenshots of my projekt&lt;/P&gt;
&lt;P&gt;&lt;IMG id="wysiwyg_image_54" src="https://www.dropboxforum.com/hc/user_images/jS06dCznZ-88X61Uni3Wng.png" alt="&amp;gt;&amp;lt;img id=" wysiwyg_image_55="" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2016 05:43:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134727#M4036</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-07T05:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134728#M4037</link>
      <description>&lt;P&gt;Hi Jonas, can you elaborate on what functionality, if any, isn't working as expected? The "-canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)" message is expected and safe to ignore in the simulator, where the official&amp;nbsp;Dropbox app isn't installed, as the SDK will fall back to the built in flow.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:39:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134728#M4037</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-10T02:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134729#M4038</link>
      <description>&lt;P&gt;Thank you so much for your reply Gregory! I can see now how my message can be understood that way. But what i mean is, that even when i play the app on my iPhone i get the rest of the error message i posted. every thing works great, until i try to login. at which point i get the error message.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 04:02:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134729#M4038</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-11T04:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134730#M4039</link>
      <description>&lt;P&gt;Thanks for clarifying. So it sounds like the login/app authorization flow doesn't work when you get the "unsupported URL" error?&lt;/P&gt;
&lt;P&gt;It looks like you're using the &lt;A href="https://www.dropbox.com/developers-v1/core/sdks/ios" target="_blank" rel="nofollow noreferrer"&gt;iOS Core SDK&lt;/A&gt;&amp;nbsp;in a Swift project. Can you share the relevant code snippets from your app as text so we can try to reproduce this and track down the issue? (Or if you have a sample project to share that would be even better.)&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 07:07:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134730#M4039</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-11T07:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134731#M4040</link>
      <description>&lt;P&gt;&lt;STRONG&gt;AppDelegate.swift&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;import UIKit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@UIApplicationMain&lt;/P&gt;
&lt;P&gt;class AppDelegate: UIResponder, UIApplicationDelegate {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; var window: UIWindow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&amp;gt; Bool {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let appKey = "8koa47slz0cgnns"&amp;nbsp; &amp;nbsp; &amp;nbsp; // Set your own app key value here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let appSecret = "&amp;lt;redacted&amp;gt;" &amp;nbsp; // Set your own app secret value here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let dropboxSession = DBSession(appKey: appKey, appSecret: appSecret, root: kDBRootAppFolder)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DBSession.setSharedSession(dropboxSession)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Override point for customization after application launch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -&amp;gt; Bool {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if DBSession.sharedSession().handleOpenURL(url) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if DBSession.sharedSession().isLinked() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NSNotificationCenter.defaultCenter().postNotificationName("didLinkToDropboxAccountNotification", object: nil)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func applicationWillResignActive(application: UIApplication) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func applicationDidEnterBackground(application: UIApplication) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func applicationWillEnterForeground(application: UIApplication) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func applicationDidBecomeActive(application: UIApplication) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func applicationWillTerminate(application: UIApplication) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:53:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134731#M4040</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-12T07:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134732#M4041</link>
      <description>&lt;P&gt;//&lt;/P&gt;
&lt;P&gt;//&amp;nbsp; ViewController.swift&lt;/P&gt;
&lt;P&gt;//&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;import UIKit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBOutlet weak var tblFiles: UITableView!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBOutlet weak var bbiConnect: UIBarButtonItem!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBOutlet weak var progressBar: UIProgressView!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; override func viewDidLoad() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.viewDidLoad()&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Do any additional setup after loading the view, typically from a nib.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tblFiles.delegate = self&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tblFiles.dataSource = self&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; progressBar.hidden = true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleDidLinkNotification:", name: "didLinkToDropboxAccountNotification", object: nil)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; func handleDidLinkNotification(notification: NSNotification) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bbiConnect.title = "Disconnect"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if DBSession.sharedSession().isLinked() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bbiConnect.title = "Disconnect"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; override func didReceiveMemoryWarning() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.didReceiveMemoryWarning()&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Dispose of any resources that can be recreated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; // MARK: IBAction method implementation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBAction func connectToDropbox(sender: AnyObject) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if !DBSession.sharedSession().isLinked() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DBSession.sharedSession().linkFromController(self)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DBSession.sharedSession().unlinkAll()&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bbiConnect.title = "Connect"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBAction func performAction(sender: AnyObject) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; @IBAction func reloadFiles(sender: AnyObject) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; // MARK: UITableview method implementation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func numberOfSectionsInTableView(tableView: UITableView) -&amp;gt; Int {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&amp;gt; Int {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&amp;gt; UITableViewCell {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; let cell = UITableViewCell()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return cell&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -&amp;gt; CGFloat {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:54:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134732#M4041</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-12T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134733#M4042</link>
      <description>&lt;P&gt;Do you need anything else, then my project should look pretty much like the one in the tutorial i linked in the beginning &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; But i am of course also happy to send you anything else you need from the project. Again thank you so much for helping &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:56:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134733#M4042</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-12T07:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134734#M4043</link>
      <description>&lt;P&gt;Thanks Jonas! That's helpful, and I'm able to reproduce the issue now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that the "-[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance ..." error occurs inside openURL, causing the openURL operation to itself report the "unsupported URL" error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The actual issue is that in your code,&amp;nbsp;DBDemo.ViewController doesn't actually implement&amp;nbsp;handleDidLinkNotification. You have that defined only inside viewDidLoad. If you move that outside&amp;nbsp;viewDidLoad, both issues no longer occur.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2016 03:16:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134734#M4043</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-13T03:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134735#M4044</link>
      <description>&lt;P&gt;THANK YOU SO MUCH!!!!!!! &lt;BR /&gt;I have spend far too much time trying to fix this, and then you fix it in a day! &lt;BR /&gt;THANK YOU THANK YOU THANK YOU !!! &lt;BR /&gt;:D:DD::D:D&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 00:04:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/canOpenURL-failed-for-URL-quot-dbapi-2-1-connect-quot-error-quot/m-p/134735#M4044</guid>
      <dc:creator>Jonas B.6</dc:creator>
      <dc:date>2016-02-14T00:04:13Z</dc:date>
    </item>
  </channel>
</rss>

