I'm encountering an access denied issue while trying to retrieve the TR.FiFirstCouponDate
field using the Refinitiv Data Platform (RDP) APIs.
Here's a summary of my situation and the code I'm using:
I successfully obtained the FirstCouponDate
for a cusip
while Eikon Desktop App is running in background with the following code:
import eikon as ek
ek.set_app_key('Your-api-key')
FirstCouponDate = ek.get_data(["cusip"], fields=["TR.FiFirstCouponDate"])
print(FirstCouponDate)
RDP API (Access Denied):However, when I attempted to achieve the same using the RDP API with the following code:
import refinitiv.data as rd
rd.open_session('platform.rdp')
rd.get_data(
universe=['cusip'],
fields=['TR.FiFirstCouponDate']
)
I encountered an "Error Code -1: The access to field(s) denied."
Despite using the correct API key, ensuring the correct identifier is provided, and verifying that the session is successfully opening, I'm still facing this access denied issue.
I'd greatly appreciate any insights or guidance on resolving this problem. Thank you in advance for your assistance!