Skip to content Skip to sidebar Skip to footer

Why Am I Getting A Keyerror When Attempting To Authenticate With Evernote?

I am receiving the following error message when attempting to call the Evernote Python SDK's get_access_token in the oauth authentication process. KeyError: 'oauth_token' My code

Solution 1:

Evernote SDK has both Django- and Pyramid-based server examples that perform OAuth authentication: https://github.com/evernote/evernote-sdk-python/tree/master/sample/django/oauth

OAuth procedure is described in https://dev.evernote.com/doc/articles/authentication.php and you can use any OAuth 1.0 Python library to implement the server (most OAuth libraries have a reusable example code; the only thing you will likely need to change there, apart from providing your api key and secret, is Evernote OAuth server URL: https://sandbox.evernote.com/oauth for sandbox, and `` . To initiate the OAuth sequence, you need to pass both consumer key and consumer secret.

Post a Comment for "Why Am I Getting A Keyerror When Attempting To Authenticate With Evernote?"