degiro-connector icon indicating copy to clipboard operation
degiro-connector copied to clipboard

404 when using list.

Open tianjinexpats opened this issue 1 year ago • 0 comments

Hello, congratulations on this fantastic job you did!

I have tried the example code supplied with the code https://github.com/Chavithra/degiro-connector/blob/main/examples/trading/favourite_list_create.py in a copy paste and I receive this error.

INFO:degiro_connector.trading.actions.action_connect:get_session_id:response_dict: {'isPassCodeEnabled': True, 'locale': 'fr_FR', 'redirectUrl': 'https://trader.degiro.nl/trader/', 'sessionId': '397FD0933651E52ADBE82BE2C64531BC.prod_a_111_3', 'status': 0, 'statusText': 'success'}
CRITICAL:degiro_connector.trading.actions.action_create_favourite_list:404
CRITICAL:degiro_connector.trading.actions.action_create_favourite_list:<!doctype html><html lang="fr"><head><title>État HTTP 404 – Not Found</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}</style></head><body><h1>État HTTP 404 – Not Found</h1></body></html>
Can't create this list : SOME_LIST.

I'm 99.9999% positive that my password login and int_account are correct because I can execute this code without problem.. and I do not have 2TA

request = ProductsInfo.Request()
request.products.extend([96008, 1153605, 5462588])

# FETCH DATA
products_info = trading_api.get_products_info(
    request=request,
    raw=True,
)

# DISPLAY PRODUCTS_INFO
print(products_info)

I do have similar answer when tried to retrieve my lists. Just wanted to ask if anyone as the same issue and how it could be corrected?

Regards

tianjinexpats avatar Aug 09 '23 08:08 tianjinexpats