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: 

Unable to log in

Unable to log in

jieDai
Explorer | Level 3

I applied for appkey on Dropbox developers. An error was reported when authorizing authentication.      "[DBClientsManager authorizeFromController:[UIApplication sharedApplication] controller:controller openURL:^(NSURL *url) { [[UIApplication sharedApplication] openURL:url]; }];

"error message:

terminating with uncaught exception of type NSException

*** Terminating app due to uncaught exception 'FatalError', reason: 'DropboxSDK: unable to link; app isn't registered for correct URL scheme (db-03609z0wg843bb3). Add this scheme to your project Info.plist file, associated with following key: "Information Property List" > "URL types" > "Item 0" > "URL Schemes" > "Item <N>".'

 

We look forward to your reply

1 Reply 1

Greg-DB
Dropbox Staff

It sounds like you're using the Dropbox API v2 Objective-C SDK. That implements the app authorization flow redirect by using a custom URL scheme that you need to register for your app. In your case, based on the output here, your URL scheme would be "db-03609z0wg843bb3".

 

Make sure you've registered that in your app's .plist file, as indicated in the error message. You can find more information on setting this up the SDK in your app here.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?