Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

Error Code 3 using findNotes() from AS3 library

as3 findnotes error api

  • Please log in to reply
1 reply to this topic

#1 Richard Haven

Richard Haven

  • Pip
  • Title: Member
  • Group: Members
  • 48 posts

Posted 13 June 2012 - 08:18 PM

Note, the token (sessionId) worked when getting all the notebooks

public function getNotesForNotebook(bookId : String) : void
  {
   var filter : NoteFilter = new NoteFilter();
   filter.notebookGuid = bookId;
   var resultSpecification : NotesMetadataResultSpec = new NotesMetadataResultSpec();
   resultSpecification.includeTitle = true;
   noteStore.findNotes(sessionId, filter, 0, Constants.MAX_NOTES, errorHandler, notesHandler);
   function notesHandler(result : Object) : void
   {
	dispatchEvent(new ServiceDataEvent(ServiceDataEvent.NOTES, result.success));
   }
   function errorHandler(info : Object) : void
   {
	dispatchEvent(new ErrorEvent(ErrorEvent.ERROR, false, false, info.toString()));
   }
  }


"info" com.evernote.edam.error.EDAMUserException (@c1d5fe1)
errorCode 3
_errorCode 3
__isset_errorCode true
parameter "authenticationToken"
_parameter "authenticationToken"

#2 Richard Haven

Richard Haven

  • Pip
  • Title: Member
  • Group: Members
  • 48 posts

Posted 22 June 2012 - 11:55 PM

I think I had a Basic API Key instead of an Advanced one





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote