eikon.eikonError.EikonError: Error code 1422

Hello,

I am running the code I wrote below:

"""

interval = 'hour'

count = 75

field=['open','high','low','close','volume']

df = ek.get_timeseries(symbol, field,interval=interval,count=count, corax='adjusted')"""

The code end up with an error as below:

"""eikon.eikonError.EikonError: Error code 1422 | Can not process metadata for request: TimeSeries.rics - non-empty is required"""


My question is this, what is the 1422 error and how can I handle it?


Notes: I am taking multiple symbols like ['x.OQ','y.N','z.OQ']

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @osmana,

    Which version of the Eikon python package are you using? The latest is 1.1.2. So, if I were to execute exactly what you described above, I would see this:

    image

    The symbols (RICS) are case-sensitive and incorrect. If you were to provide valid RICs, the command would execute.

Answers