Hi, My Eikon simple Python code gets every day the same authentification error code 401:
eikon.eikonError.EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.
My Eikon Desktop is however up and running. I have to shut it down and restart it to alleviate this problem. As i am trying to automate this data collection, i would like to have this code running every day without me having to manually shut down and restart my Eikon Desktop.
1 - Why is this error raised even though the Deskop is running? I would have thought that my Desktop could be running for several days without having to restart it?
2 - Is there a way to shut down and restart the Desktop programmatically via a windows command for example, so that my Python API does not face this error?
3 - Please give me a hint on how to solver this problem
Thank you