Error for pricing data

Hello, I was trying to extract the price for NVDA by the code below but got a 403 Error. Can you help me on that?

import refinitiv.data as rd
from refinitiv.data.content import pricing

quote = rd.content.pricing.Definition(
    "NVDA.O",
    fields=["BID", "ASK", "TRDPRC_1"]
).get_data()

RDError: Error code 403 | access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]. Contact Refinitiv to check your permissions.

Tagged:

Answers

  • Hello @jl14614

    As in the description, this error means that your account does not have permission to get real time data. Your LSEG account manager can add these additional entitlements to your account.