-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'state' on mendeley.start_authorization_code_flow(state=session['state']) #3
Comments
I got the same issue, Ubuntu 14.04, python 2.7. |
I have the same issue, any solution yet? |
Curly brackets are not required!!!!! |
Hello, I'm trying to find someone with Ubuntu installed in our team. Stand by. |
I am currently looking into this but I need to fix this issue first as I can't proceed until then - #4 |
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 |
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) |
This is due to redirect url. If you are running locally like I am your site runs on: http://127.0.0.1:5000/ |
@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? |
This solved the issue for me:
|
My installed modules:
The text was updated successfully, but these errors were encountered: