iOS SDK
I'm getting an error after authenticating a session in sandbox when trying to search through the users notes using a filter;
Error Domain=com.evernote.sdk Code=3 "The operation couldn’t be completed. (com.evernote.sdk error 3.)" UserInfo=0x888bc70 {parameter=authenticationToken}
I understand this error means permission was denied based on the authenticationToken parameter for a certain action but can't understand why after authenticating, an action could be denied based on the authentication of a token I just received when successfully authenticating.
I can list using NSLog all the notebooks in the user account, but not search for notes within those notebooks due to the error mentioned.
Is this something to do with my initial setup of the Evernote SDK or a poorly written request or something I haven't considered?
5 replies to this topic
#1
Posted 01 June 2012 - 11:58 AM
#2
Posted 01 June 2012 - 11:39 PM
The issue you are having is probably linked to the permissions you requested for your key. If you only requested Create notes permissions, you may list notebooks but not notes.
If you need to be able to read notes, please send me your API consumer key by PM and I will update your key accordingly.
If you need to be able to read notes, please send me your API consumer key by PM and I will update your key accordingly.
#3
Posted 11 June 2012 - 10:12 AM
I am still receiving the same error, this time when trying to run a count on the number of notes outlined in the tutorial found at;
http://blog.evernote...ntegration-ios/
I can authenticate the session, display the username of the user but then proceed no further due to the error. I can't work out why this would occur after successfully displaying a detailed list of notebooks and the users credentials with other IBAction's within the same session.
Could this be something to do with the setup of the SDK within my app or something subtle I have overlooked?
http://blog.evernote...ntegration-ios/
I can authenticate the session, display the username of the user but then proceed no further due to the error. I can't work out why this would occur after successfully displaying a detailed list of notebooks and the users credentials with other IBAction's within the same session.
Could this be something to do with the setup of the SDK within my app or something subtle I have overlooked?
#4
Posted 11 June 2012 - 05:13 PM
Did you create your API key with "basic" or "full" permissions? The latter doesn't allow you to read existing notes. We'd be happy to give you full permissions, just send me your API consumer key via private message.
#5
Posted 12 June 2012 - 08:17 AM
I have been in contact with Julien Boedec and he has already upgraded the key. However as it's still not working I'll send you those details in a PM.
Cheers!
Cheers!
#6
Posted 12 June 2012 - 05:18 PM
The permissions are baked into each OAuth token, so even though Julien changed your key's permissions, you might have to revoke your token and reauthenticate. Try revoking your token at https://sandbox.ever...Services.action
Also tagged with one or more of these keywords: error, code
iOS
Evernote Products →
Evernote →
Error in syncing is consuming all available uploadStarted by bjohe, 19 May 2013 |
|
|
||
Windows
Evernote Products →
Evernote →
Items not deleting, ghost tags, and server error when syncingStarted by KimofSunshine, 17 May 2013 |
|
|
||
Android
Evernote Products →
Evernote Food →
Why do all my recipes become ugly/useless/broken after aprox. 10 min?Started by OutlawBlue9, 10 May 2013 |
|
|
||
General Discussions →
Evernote General Discussion →
Error in evernote installationStarted by ahvent, 06 May 2013 |
|
|
||
Learn & Share →
Evernote for Developers →
Evernote Devcup 2013 Is Live! - [What's new, meetups, and prizes]Started by Chris Traganos, 15 Apr 2013 |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












