For some reasons, I keep getting the following error when using the python API:
EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.
I simply connect doing the following but then receive the error when using ek.get_data
import pandas as pd
import eikon as ek
ek.set_app_key('XXXXXhidden for postXXXXXX')
The eikon terminal and the excel addin work fine. I checked and rechecked my key on the app key generator and it is the correct one.
Could someone help me on this please? Fyi I use windows and python 3.6 with spyder. When restarting the machine it disappears.