[Error 400 - invalid_grant] error description

I am running below

rd.get_data(

universe=['LSEG.L', 'VOD.L'],

fields=['BID', 'ASK']

) and getting error

RDError: Error code -1 | Error code -1 | Insufficient scope for key=/streaming/pricing/v1/, method=GET.
Required scopes: {'trapi.streaming.pricing.read'}
Available scopes: {'trapi.search.read', 'trapi.streaming.prcperf.read', 'trapi.data.historical-pricing.events.read', 'trapi.searchcore.read', 'trapi.alerts.publication.crud', 'trapi.user-framework.application-metadata.raplib', 'trapi.alerts.preferences.crud', 'trapi.alerts.history.crud', 'trapi.synthetic.crud', 'trapi.searchcore.lookup.read', 'trapi.user-framework.recently-used.crud', 'trapi.user-framework.mobile.crud', 'trapi.frtb.sentimarization', 'trapi.searchcore.metadata.read', 'trapi.data.historical-pricing.summaries.read', 'trapi.auth.cloud-credentials', 'trapi.user-framework.workspace.crud', 'trapi.search.explore.read', 'trapi.sdbold', 'trapi.search.metadata.read', 'trapi.alerts.subscription.crud', 'trapi.data.quantitative-analytics.read', 'trapi.graphql.subscriber.access', 'trapi.data.get.data.read', 'trapi.search.lookup.read', 'trapi.streaming.synthetic.read'}
Missing scopes: {'trapi.streaming.pricing.read'}

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @hetshah3008@gmail.com

    Thank you for reaching out to us.

    According to the error, your account doesn't have permission to access streaming prices (BID and ASK).

    Missing scopes: {'trapi.streaming.pricing.read'}

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


Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.