The access to field(s) denied: rd.getdata - TR.RDNExchangeCode

Hi,

I want to get exchange code from rics. using rd library , which direct to /data/datagrid/beta1

import refinitiv.data as rd
 rd.open_session()
 
 rd.get_data(universe=["MSFT.O","IBM","GOOG.O","AAPL.O","SPY"],
             fields=["TR.RDNExchangeCode"])
 
 
 rd.close_session()
 

It return these errors. Please suggest if I need any permission to get these fields?

Exception Error code 221 | The access to field(s) denied. Requested universes: ['MSFT.O', 'IBM', 'GOOG.O', 'AAPL.O', 'SPY']. Requested fields: ['TR.RDNExchangeCode']

Best Answer

  • raksina.samasiri
    Answer ✓

    Hi @yok ,

    Yes, the error message indicates that your account doesn't have a permission to this field.

    I tried the code you used and got a result as below.

    1682057702456.png

Answers