适用于iOS的Dropbox SDK:[警告] DropboxSDK:读取存储凭据时出错(-25308)

时间:2014-04-09 04:44:51

标签: ios dropbox dropbox-api

在iOS模拟器中一切顺利,但是我在iPod touch5中运行它,它首先收到警告:[WARNING] DropboxSDK: error reading stored credentials (-25308)

我将Dropbox链接为: - (IBAction)didPressLink { if (![[DBSession sharedSession] isLinked]) { [[DBSession sharedSession] linkFromController:self]; } else { //enter explorer view controller. } }

在资源管理器视图控制器中

我列出了root的所有文件:

[self.restClient loadMetadata:@"/"];

只看到任何错误返回。

应用程序在此运行日志:

2014-04-09 12:21:44.870 WebDisk[17838:907] [WARNING] DropboxSDK: error reading stored credentials (-25308) 2014-04-09 12:21:46.683 WebDisk[17838:907] -[DropBoxAdapter isLinked] line:70 unlink dropbox 2014-04-09 12:21:46.687 WebDisk[17838:907] [WARNING] DropboxSDK: error deleting credentials (-25308) 2014-04-09 12:21:53.517 WebDisk[17838:907] Received memory warning. //some log useless 2014-04-09 12:23:29.717 WebDisk[17838:907] [WARNING] DropboxSDK: error reading stored credentials (-25308) 2014-04-09 12:23:29.721 WebDisk[17838:907] [WARNING] DropboxSDK: error saving credentials (-25308) 2014-04-09 12:23:29.723 WebDisk[17838:907] Dropbox linked successfully! 2014-04-09 12:23:29.724 WebDisk[17838:907] -[AppDelegate application:openURL:sourceApplication:annotation:] line:57 url = db-bgdebclfjdbafzt://1/connect?oauth_token=lmwh8uvm5s15mtpz&oauth_token_secret=ll0vkcz6b1xxclx&uid=283147016&state=6BCFD0EC-BD8D-4E5F-8029-2BE5E8239969 source = com.getdropbox.Dropbox annotation=(null) 2014-04-09 12:23:33.776 WebDisk[17838:907] [WARNING] DropboxSDK: error making request to /1/metadata/auto - (403) Parameter not found: oauth_token 2014-04-09 12:23:33.782 WebDisk[17838:907] -[ExplorerViewController webDiskClient:loadMetadataFailedWithError:] line:274 Error Domain=dropbox.com Code=403 "The operation couldn’t be completed. (dropbox.com error 403.)" UserInfo=0x1e8ddc70 {path=/, error=Parameter not found: oauth_token}

0 个答案:

没有答案