iOS Dropbox API “not currently support by MPOAuthConnection” occur after changing user
2013-11-07 20:05
495 查看
3down votefavorite | I am trying to use Dropbox API on iOS but I got trapped by the error when I try to use loadMetadatamethod. process flow is below.. 1.link (UserA) [[DBSession sharedSession] linkFromController:self]; 2.allow authorization on dropbox authorization view 3.unlink (UserA) [[DBSession sharedSession] unlinkAll]; 4.link (UserB) [[DBSession sharedSession] linkFromController:self]; 5.allow authorization on dropbox authorization view 6.loadMetadata [[self restClient] loadMetadata:path]; But here I get the error: Terminating app due to uncaught exception 'Unsupported Signature Method', reason: 'The signature method "(null)" is not currently support by MPOAuthConnection' loadMetaDatadid work correctly as UserAbut it did not work after changing user. I doubt that the way to unlinkcould be not enough .. but I do not know. Please give me any advices in order to solve the problem. Any help will be appreciated. objective-c ios oauth dropbox-api
| ||||
|
1 Answer
activeoldestvotesup vote0down vote | Migrating the answer above to a proper one.... As @yusaku posted in a comment on his question, this link has the answer: https://forums.dropbox.com/topic.php?id=94511#post-517526 Specifically, Greg K. says: Make sure you clear all your DBRestClient objects when you unlink. If you try to use an old DBRestClient object it will cause this problem. Clearing the old DBRestClient should be a no-brainer, but when it's late and you're following sample code that makes it a persistent class variable, it's easy to skip a brain or two. |
3down votefavorite | I am trying to use Dropbox API on iOS but I got trapped by the error when I try to use loadMetadatamethod. process flow is below.. 1.link (UserA) [[DBSession sharedSession] linkFromController:self]; 2.allow authorization on dropbox authorization view 3.unlink (UserA) [[DBSession sharedSession] unlinkAll]; 4.link (UserB) [[DBSession sharedSession] linkFromController:self]; 5.allow authorization on dropbox authorization view 6.loadMetadata [[self restClient] loadMetadata:path]; But here I get the error: Terminating app due to uncaught exception 'Unsupported Signature Method', reason: 'The signature method "(null)" is not currently support by MPOAuthConnection' loadMetaDatadid work correctly as UserAbut it did not work after changing user. I doubt that the way to unlinkcould be not enough .. but I do not know. Please give me any advices in order to solve the problem. Any help will be appreciated. objective-c ios oauth dropbox-api
| ||||
|
1 Answer
activeoldestvotesup vote0down vote | Migrating the answer above to a proper one.... As @yusaku posted in a comment on his question, this link has the answer: https://forums.dropbox.com/topic.php?id=94511#post-517526 Specifically, Greg K. says: Make sure you clear all your DBRestClient objects when you unlink. If you try to use an old DBRestClient object it will cause this problem. Clearing the old DBRestClient should be a no-brainer, but when it's late and you're following sample code that makes it a persistent class variable, it's easy to skip a brain or two. |
相关文章推荐
- iOS 【错误:'Changing the delegate of a tab bar managed by a tab bar controller is not allowed.'】
- iOS开发中的错误整理,Changing the delegate of a tab bar managed by a tab bar controller is not allowed
- 发送邮件时,报postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by
- Could not locate device support files.《This iPhone 5 (Model A1429) is running iOS 7.0.4 (11B554a), which may not be supported by this version of Xcode.》-b
- 连接数据库时的异常:TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:orc
- Cannot drop a database link after changing the global_name ORA-02024 [ID 382994.1]
- The program 'unzip' is currently not installed. You can install it by typing:
- clientdataset“Record not found or changed by another user”问题
- This iPhone 6 is running iOS 10.2 (14C92), which may not be supported by this version of Xcode.
- Client does not support authentication protocol requested by server;
- ‘127.0.0.1’ is not allowed to connect to this MySQL serverConnection closed by foreign host
- gem install 出现Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org
- 解决Qt for Embedded Linux data directory is not owned by user 0h 错误提示 问题
- ORA-02070: database SALES does not support operator USERENV in this context
- android4.1.2 DexClassLoader is not owned by the current user 问题
- Not working scp command: Connection closed by remote host (Mac OS X)
- Error - Connection to host as user oracle failed: ERROR: NMO not setuid-root (Unix-only)
- ORA 12505 Listener does not currently know of SID given in connection descriptor
- Cannot drop a database link after changing the global_name ORA-02024 [ID 382994.1]
- Connection activation failed Device not managed by NetworkManager