Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Error Code -1: The access to field(s) denied

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!


refinitiv-dataplatform-eikon#productrdp-apirefinitiv-data-platform-libraries
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
80.3k 259 52 75

@Harry

Thank you for reaching out to us.

As this forum is more for programming type queries, rather than permission queries.

Please kindly contact your Refinitiv account team or sales team directly via MyRefinitiv to verify your permission.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.