Hi,
I am trying to access the data my company bought through the python API. I have created a config file (according to the github instructions) where I include the machine ID, password and the app key.
I do the following:
import refinitiv.data as rd
from refinitiv.data.content import esg
import os
os.environ["RD_LIB_CONFIG_PATH"] = ".. \refinitiv-data.config.json"
rd.open_session('platform.rdp')
response = esg.universe.Definition().get_data()
response.data.df
It works to start the session so something seem to be working.
But the line "response = esg.universe.Definition().get_data()" gives me an error:
RDError: Error code 403 | access denied. Scopes required to access the resource: [trapi.data.esg.universe.read]. Missing scopes: [trapi.data.esg.universe.read]
Which sounds like I don't have access to this data. Am I trying to access the wrong stuff? Or what I am doing wrong?
This is the product my company bought according to the invoice:
I am stumbling in the dark a bit here, I hope someone can send me in the right direction.
Thank you