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.

1 Answer

· Write an Answer
Upvotes
Accepted
23.7k 61 15 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.