everest-js icon indicating copy to clipboard operation
everest-js copied to clipboard

Error getting OAuth request token

Open kyxyes opened this issue 10 years ago • 1 comments

Thank you first, But I met some problems when I rum this program when I login and jump to http://localhost:8081/authentication the page will show "Error getting OAuth request token : { statusCode: 401, data: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"

And I have set config.js to evernoteConsumerKey :'noteg**' ,evernoteConsumerSecret : '05e60b3ba6c6c***' ,evernoteUsedSandbox : false

Can you help a little, thank you

kyxyes avatar Mar 08 '15 22:03 kyxyes

I had the same problem, just in case other users are confused by this issue:

When you create an evernote api key, the api key only works with sandboxed accounts.
Ensure you are logging into a sandboxed evernote account, and that evernoteUsedSandbox is set to true. (you can create a sandboxed evernote account here https://sandbox.evernote.com/ )

When you are ready, you must 'activate' your key for production. then set evernoteConsumerSecret false and use a regular evernote account

If you try to login with a sandboxed key using a non-sandboxed account, or try to login with a sandboxed key, but have evernoteUsedSandbox set to false, you will be presented with the "Error getting OAuth...." message

brthrmnss avatar Jul 30 '15 09:07 brthrmnss