Chavithra / degiro-connector

This is yet another library to access Degiro's API.
BSD 3-Clause "New" or "Revised" License
205 stars 46 forks source link

Response status code 412 'joinAccountPersonNeeded' #136

Open ChristiaanRoos83 opened 4 months ago

ChristiaanRoos83 commented 4 months ago

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.

Chavithra commented 4 months ago

Hi @ChristiaanRoos83,

the code related to connection is grouped in this file:

If you need extra guidance, feel free to join me on discord (cf. my GitHub profile).

Thanks