Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

login error #11

Open
yironglo opened this issue Apr 18, 2020 · 4 comments
Open

login error #11

yironglo opened this issue Apr 18, 2020 · 4 comments

Comments

@yironglo
Copy link

Hi, thanks for sharing this API!
I'm a total tech newbie and have no experience with integrating API's, but I figured I wanted to try this one out.
So after running the code, I get stuck at login. It says status code: 405.
The code stops running at the set cookie line.

What does this mean and how do I fix it?

@bramton
Copy link
Owner

bramton commented Apr 23, 2020

Could you provide some more details ? For instance what login method are you using ?

@yironglo
Copy link
Author

I'm using the command line login. I fill in my username and password on the screen.
I don't have the 2FA enabled, so i leave that empty.
The error code I get is 500 (wrote that wrong in my previous message).
The code stops running at the section of 'get session id'.

@pgoslatara
Copy link

@bramton Line 30 of degiro.py should be changed to:
r = self.sess.post(url, data=payload)
With that, la.getConfig() throws a 401 error I can't figure out.

@yironglo Did you get anywhere with this?

@yironglo
Copy link
Author

yironglo commented May 4, 2020

@SilageTime Thanks! I now get a status code 200 and the session ID printed. But after that, nothing happens. The program exits with no error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants