I got the following Exception :
2022-10-27 09:38:29,423 P[12616] [MainThread 23084] Error code 500 | Server Error: {"code":500,"message":"getaddrinfo EAI_AGAIN emea1.apps.cp.thomsonreuters.com:443","statusMessage":"Internal Server Error"} 2022-10-27 09:38:29,424 P[12616] [MainThread 23084] HTTP request failed: EikonError-Server Error: {"code":500,"message":"getaddrinfo EAI_AGAIN emea1.apps.cp.thomsonreuters.com:443","statusMessage":"Internal Server Error"}
when executing the following piece of code :
import eikon as ek
import configparser as cp
cfg = cp.ConfigParser()
cfg.read('eikon.cfg')
ek.set_app_key(cfg['eikon']['app_id'])
data = ek.get_timeseries('AAPL.O', # the RIC for Apple, Inc.
fields='*', # all fields
start_date='2021-01-01', # start date
end_date='2021-12-31') # end date