Christophe Gevrey 13 Posted May 28 Share Posted May 28 (edited) Hello all, My production token was working fine for months, and suddenly, since a few hours, I get the following error message when running my code: EDAMUserException(errorCode=9, parameter='authenticationToken') I am using Python and this is the code that I have always being using to create my Evernote client: def get_client(): config = configparser.ConfigParser() config.read(config_file) token = config.get('prod', 'token') print(f"Token: {token}") client = EvernoteClient(token=token, sandbox=False) return client def search_notes(words, notebookGuid=None, tagGuids=[], maxNotes=5): client = get_client() # Create a filter for the notes search filter = NoteFilter() filter.words = words filter.notebookGuid = notebookGuid filter.tagGuids = tagGuids filter.inactive = False # We search only active notes, i.e. not in Trash filter.ascending = False # Most recent results firt spec = NotesMetadataResultSpec() spec.includeTitle = True noteStore = client.get_note_store() # this is where it is failing - client.get_note_store() What could possibly be wrong? I have not additional message. Thanks, Christophe Edited May 28 by Christophe Gevrey Added more info. Link to comment
Christophe Gevrey 13 Posted May 28 Author Share Posted May 28 I realized that I was still using a dev key which expired. My bad. @s2sailor I have sent a prod API key request by email. Would you be kind enough to help me with this, so I can restore my service? Many thanks, Christophe Link to comment
Level 5* s2sailor 2,410 Posted May 28 Level 5* Share Posted May 28 42 minutes ago, Christophe Gevrey said: I realized that I was still using a dev key which expired. My bad. @s2sailor I have sent a prod API key request by email. Would you be kind enough to help me with this, so I can restore my service? Many thanks, Christophe FWIW I have flagged this for attention, but if you haven’t already, please submit a support request. Link to comment
Christophe Gevrey 13 Posted May 28 Author Share Posted May 28 Thank you. I will do this in addition to my email to devsupport@evernote.com then. Christophe Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now