question

Upvotes
Accepted
1 0 0 1

How RDP /auth/oauth2/v1/token requests token with multiple scopes?

I get the following error using either [trapi.cfs.publisher.read] or [trapi.cfs.subscriber.read] scope:

{"error":{"id":"7b15ef25-9c4a-420c-b681-feca036db41e","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.cfs.publisher.read] or [trapi.cfs.subscriber.read]. Missing scopes: [trapi.cfs.publisher.read trapi.cfs.subscriber.read]","status":"Forbidden"}}

How can I request a token with multiple scopes [trapi.cfs.publisher.read] and [trapi.cfs.subscriber.read] ?

rdp-apirefinitiv-data-platformscopes
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.

@ttse

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@ttse

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @ttse,

If you request a token with root scope: trapi , all the sub scopes are automatically applied to it. The error message you are getting implies that your token does not have the CFS scopes, which is most likely due to your account permissions. Please contact your Refinitiv account manager to get access to RDP CFS API.


You can read more about token scopes here.

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.