question

Upvotes
Accepted
1 0 0 0

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea