Hello,
Once i have integrated the Dropbox Objective-C SDK into my project; I got appkey is ht5jlmr230u0823, and i set up OAuth 2
Redirect URIs is https://db-ht5jlmr230u0823. and account_info.write. url scheme is db-ht5jlmr230u0823. [[client.filesRoutes createFolder:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESFolderMetadata *result, DBFILESCreateFolderError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"\n", result); } else { NSLog(@"\n\n", routeError, networkError); } }]; result is nil.and I created folder ,i got response.but entries is null,and hasMore is no;Printed log:
2020-11-19 20:08:55.165617+0800 TestObjectiveDropbox_iOS[16527:343128] (null)
DropboxAuthError[{
ErrorContent = "expired_access_token/";
RequestId = e1b010698acb4729a434e523e9a63ef9;
StatusCode = 401;
StructuredAuthError = "<DBAUTHAuthError: 0x600000d418a0>";
UserMessage = nil;
}];
2020-11-19 20:08:56.947307+0800 TestObjectiveDropbox_iOS[16527:343128] DBSDKReachability Flag Status: -R ------- networkStatusForFlags
2020-11-19 20:08:56.954662+0800 TestObjectiveDropbox_iOS[16527:343128] -canOpenURL: failed for URL: "dbapi-2://1/connect?k=ht5jlmr230u0823&s=" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2020-11-19 20:08:56.955352+0800 TestObjectiveDropbox_iOS[16527:343128] -canOpenURL: failed for URL: "dbapi-8-emm://1/connect?k=ht5jlmr230u0823&s=" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2020-11-19 20:09:41.715453+0800 TestObjectiveDropbox_iOS[16527:343128]
Success! User is logged into Dropbox.
2020-11-19 20:10:06.103175+0800 TestObjectiveDropbox_iOS[16527:343128] Folder is large enough where we need to call `listFolderContinue:`
Hope to get your reply!
Thanks!