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 1

[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'}

eikon-data-api#productrefinitiv-data-platform-eikonerror-400
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

@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.


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.