Hello,
I get the below error when using the below code. The same code works well with open_platform_session.
Error:
'{"code":401,"message":"An empty location header is received while retrieving RDP access token","statusMessage":"Unauthorized"}'
This is my code:
import os
import refinitiv.dataplatform as rdp
app_key = os.environ['REFINITIV_APP_KEY']
rdp.open_desktop_session(app_key)
response = rdp.HistoricalPricing.get_events('VOD.L')
print(response.data.df)