degiro-connector
degiro-connector copied to clipboard
Response status code 412 'joinAccountPersonNeeded'
After a response
with user_name
and password
is send, I get the response status code
412 as a response {'status': 10, 'statusText': 'jointAccountPersonNeeded'}
.
The response
adds the persons that are allowed to view this DeGiro trading portfolio. In the web, you just select which person to use (this was added by DeGiro for the MIFID II regulations).
Is there a way to add this to the Login
?
I can read the response and return text where a dictionary of persons
is returned:
[
{"id": 123456,
"name": "name1"},
{ "id": 123457,
"name", "name2"},
{"id": etc
]
With some guidelines I can try making a commit myself.
Hi @ChristiaanRoos83,
the code related to connection is grouped in this file:
-
degiro_connector/trading/actions/action_connect.py
If you need extra guidance, feel free to join me on discord (cf. my GitHub profile).
Thanks