question

Upvotes
Accepted
5 1 1 2

Access denied Missing scopes: [trapi.data.pricing.read]

{ "error": { "id": "f1b92f94-aef6-4147-bfc0-82ddfc7d5938", "code": "insufficient_scope", "message": "access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]", "status": "Forbidden" } }


Do I need this scope to read the price of USGN3015=RR? How do I get the access?

Thank you.

dss-rest-apirdp-apirefinitiv-data-platform
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.

Upvotes
Accepted
23.2k 60 15 21

Yes, trapi.data.pricing is required for getting price data for an instrument. If you are trying to use /pricing endpoint, please note that it is not released yet.

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.

Hi @sushil, this endpoint is not released yet. You can also get the pricing data from streaming endpoint, using websockets (if you have permission). There is an ability to do snapshots as well, but it is not a RESTful interface. See the service discovery example here.

Upvotes
18.2k 21 13 21

Hi @sushil

What example code or what API you are using?

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.

Hi @chavalit.jintamalit, I am trying to this example:

https://github.com/Refinitiv-API-Samples/Article.RDP.VSCode.RESTClient/blob/master/example/rdp_example.rest

What is the process to get access to the missing scope?

Hi @sushil

I asked your Refinitiv Account Manager to contact you regarding access to the product.

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.