You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KeyError: 'state' on mendeley.start_authorization_code_flow(state=session['state']) #3
Kristian Garza (@kjgarza) curly brackets cause issue #2
Once I have removed them, I got towards login and after login I bumped into issue described in this report, literally (minus hashes and other possible ephemerals).
I also came across this problem, and somehow it worked after regenerating the secret, clearing cookies, changing browser ... hope that helps (mac, python 2.7, chrome and firefox)
Activity
akselx commentedon Apr 13, 2015
I got the same issue, Ubuntu 14.04, python 2.7.
kjgarza commentedon Jun 24, 2015
I have the same issue, any solution yet?
kjgarza commentedon Jun 24, 2015
Curly brackets are not required!!!!!
clientId: 1111
clientSecret: nddfdf7979df
silpol commentedon Jul 15, 2015
Kristian Garza (@kjgarza) curly brackets cause issue #2
Once I have removed them, I got towards login and after login I bumped into issue described in this report, literally (minus hashes and other possible ephemerals).
silpol commentedon Jul 15, 2015
Matěj Šmíd (@smidm) , Aksel Olsen (@akselx) and Kristian Garza (@kjgarza) - have you managed to get down the bottom of this bug?
or do we have to disturb @MendeleyStack to help us?
Joyce-Stack commentedon Jul 16, 2015
Hello,
I'm trying to find someone with Ubuntu installed in our team. Stand by.
Joyce-Stack commentedon Jul 27, 2015
I am currently looking into this but I need to fix this issue first as I can't proceed until then - #4
Joyce-Stack commentedon Jul 27, 2015
I have had colleagues run this example and get successful responses using:-
I re-cloned this project on my Macbook and was able to rerun it successfully. Also, I went to the developer portal and regenerated my secret.
Can you try and do a pip uninstall all - http://stackoverflow.com/questions/11248073/what-is-the-easiest-way-to-remove-all-packages-installed-by-pip
livia-b commentedon Feb 6, 2016
I also came across this problem, and somehow it worked after regenerating the secret, clearing cookies, changing browser ... hope that helps (mac, python 2.7, chrome and firefox)
StankoPalko commentedon Apr 9, 2016
This is due to redirect url. If you are running locally like I am your site runs on: http://127.0.0.1:5000/
but your redirect URL is set to http://localhost:5000/oauth which are two sites in terms of cookies so cookies can't be found and hence the key error. Change it to http://127.0.0.1:5000/oauth
michaelplews commentedon Jul 7, 2016
StankoPalko do you mean change the URI to http://1270.0.1:5000/oauth in the mendeley-example.py file? or on dev.mendeley.com?
smidm commentedon Dec 27, 2016
This solved the issue for me: