Unable to retrieve TR.FiCountryName field with a platform session

Hi,

I've run into an odd issue where I cannot run the following Python line below under a platform session. Time series values and other fields such as TR.InstrumentDescription work fine. Permissions team says permissions are correct.

rd.get_data(
[
'US10YT=RR',
'CA10YT=RR',
'GB10YT=RR',
'DE10YT=RR',
'EU10YT=RR',
'JP10YT=RR',
'CN10YT=RR',
],
fields='TR.FICOUNTRYNAME',
)

refinitiv.data._errors.RDError: Error code -1 | The access to field(s) denied. Requested universes: ['US10YT=RR', 'CA10YT=RR', 'GB10YT=RR', 'DE10YT=RR', 'EU10YT=RR', 'JP10YT=RR', 'CN10YT=RR']. Requested fields: ['TR.FICOUNTRYNAME']

In Excel, this data pull works fine.

=@RDP.Data("US10YT=RR","TR.FiCountryName","CH=Fd")

I can also pull the TR.FiCountryName field in a Desktop session (whether it is in Python or via the Excel add-in).

Thanks!

Answers

  • raksina.samasiri
    edited March 12

    Hi @bleron ,

    When you're using the platform access point, the data will be retrieving from the data platform (delivery platform)

    image.png

    Which can be replicated by using Datagrid endpoint of RDP API, you can try using it in API Playground https://apidocs.refinitiv.com/Apps/ApiDocs

    image.png

    Could you please try to replicate this with the request body below, then if the access denied error returned, we can talk with permission team so they can grant this access into your RDP account

    {
    "universe": [
    "US10YT=RR",
    "CA10YT=RR",
    "GB10YT=RR",
    "DE10YT=RR",
    "EU10YT=RR",
    "JP10YT=RR",
    "CN10YT=RR"
    ],
    "fields": [
    "TR.FICOUNTRYNAME"
    ]
    }
  • Hi there. Thank you for the API Playground suggestion. It'll be very useful for future situations.

    In the meantime, I did get an access to the field denied message. Including a screenshot below.

    image.png
  • Hi @bleron ,

    This error message indicate that your RDP account doesn't have an access to this field, could you please contact your LSEG account representative to check the permission entitled into your account?