question

Upvotes
1 0 0 0

Access denied error requesting api..

We are trying to get MMD files downloaded using Postman with RDP CFS API (Eikon Data API). The user ids and access rights were set up few months back and verified.

User Id being used - xxx

https://api.refinitiv.com/file-store/v1/packages?bucketName=bulk-custom&packageId=41a7-f70f-acb43762-b665-082bdbde825f

Now when we try running the APIs' once after the token is generated (able to generate token) we keep getting following error -

{
    "error": {
        "id": "5ca19b88-3728-48cf-9f60-596d7d3503c7",
        "code": "insufficient_scope",
        "message": "access denied. Scopes required to access the resource: [trapi.cfs.publisher.read] or [trapi.cfs.subscriber.read] or [trapi.cfs.admin]. Missing scopes: [trapi.cfs.publisher.read trapi.cfs.subscriber.read trapi.cfs.admin]",
        "status": "Forbidden"
    }
}


Below are the scopes we get when we request a new token

 "scope": "trapi.alerts.history.crud trapi.alerts.preferences.crud trapi.alerts.publication.crud trapi.alerts.subscription.crud trapi.auth.cloud-credentials trapi.data.benchmark.bmk_read trapi.data.historical-pricing.events.read trapi.data.historical-pricing.summaries.read trapi.data.quantitative-analytics.read trapi.graphql.subscriber.access trapi.sdbold trapi.search.explore.read trapi.search.lookup.read trapi.search.metadata.read trapi.search.read trapi.searchcore.lookup.read trapi.searchcore.metadata.read trapi.searchcore.read trapi.streaming.prcperf.read trapi.streaming.pricing.read trapi.streaming.synthetic.read trapi.synthetic.crud trapi.user-framework.application-metadata.raplib trapi.user-framework.mobile.crud trapi.user-framework.recently-used.crud trapi.user-framework.workspace.crud",


We required below scopes to access the resource to get the packages

[trapi.cfs.publisher.read] or [trapi.cfs.subscriber.read] or [trapi.cfs.admin]. Missing scopes: [trapi.cfs.publisher.read trapi.cfs.subscriber.read trapi.cfs.admin]

eikon-data-apirefinitiv-dataplatform-eikon#productrdp-apipermissioning
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
87k 294 53 79

@benny.george01

Thank you for reaching out to us.

The error indicates that your account doesn't have permission to access that service.

Please contact your LSEG account team or sales team directly to verify the account's permissions.


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.