question

Upvotes
Accepted
27 1 2 6

Access denied: Insufficient claims to access this resource

I can't download ESG Bulk files for Asset Management using "/file-store/v1/files/{id}/stream" endpoint with the following error message.

Can you please advise on how to resolve this error?

Does this mean I have no necessary permission to access the file?


Error Message

Access denied: Insufficient claims to access this resource


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

Upvotes
Accepted
23k 22 9 14

Hello @hiroko.yamaguchi1,

We have the confirmation, that you are absolutely correct, you do not have the permissions to access this specific file

"the user doesn’t have permission for PO “ESG:RFT_ESG_Scores_Current”. This causes user got error 403".

You will be able to stream other files that you are permissioned for, as suggested by @Gurpreet

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.

Upvotes
13k 32 12 18

Hello @hiroko.yamaguchi1,

Were you able to access this service in the recent past? As far as I remember, Bulk ESG service was removed form CFS because of backend re-engineering, and am not sure if it has been reinstated.

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.

Upvotes
13k 32 12 18

I am also having Access denied on few of the ESG files for scores, but this file works: 4453-dbcd-845a6939-ba56-af4c6766e6ca

  {
  "id": "40af-e139-652945dd-9419-41abd363ad4c",
  "name": "RFT-ESG-Scores-Wealth-Full-Init-2020-11-08",
  "bucketName": "ESG",
  "packageId": "4f77-627a-c467ff19-9a21-8028baeeb2f4",
  "attributes": [
    {
      "name": "ResultCount",
      "value": "70894"
    },
    {
      "name": "ContentType",
      "value": "ESG Scores"
    }
  ],
  "files": [
    "4453-dbcd-845a6939-ba56-af4c6766e6ca"
  ],
  "numFiles": 1,
  "availableFrom": "2020-11-08T13:57:56Z",
  "availableTo": "2020-11-22T13:57:55Z",
  "status": "READY",
  "created": "2020-11-08T13:57:56Z",
  "modified": "2020-11-08T13:58:02Z"
},
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.

Thanks, but I couldn't retrieve the file, either and also assume that the file is one for ESG Bulk not for Asset Management but for Wealth...

You will not be able to directly stream a file from the postman tool. Try the sample Python provided by @zoya.farberov.

Upvotes
23k 22 9 14

Hello @hiroko.yamaguchi1,

It may be helpful to find which Files are available via

https://api.refinitiv.com/file-store/v1/file-sets?bucket=ESG

and

https://api.refinitiv.com/file-store/v1/file-sets/{
                {fileSetId}} 

Find examples:

Postman: CFS ESG Bulk in RDP Postman Collection and Tutorial Samples

Python: https://github.com/Refinitiv-API-Samples/Example.RDPAPI.Python.ESGBulkIntroduction

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.

Thank you, but I actually picked out the file I'm trying to retrieve from the list of ESG files available which the response to the request to the endpoint, https://api.refinitiv.com/file-store/v1/file-sets?bucket=ESG, contained.

Hello @hiroko.yamaguchi1

I have followed the step in https://github.com/Refinitiv-API-Samples/Example.RDPAPI.Python.ESGBulkIntroduction Jupyter notebook application and I can download the some files successfully but I got the same error 403 "Access denied: Insufficient claims to access this resource" for 4ba8-e064-ef942cce-a20c-f07ede77a0e5 file id.

The message "Access denied: Insufficient claims to access this resource" seems to be the permission issue, can you request other files with the Python example given by Zoya?

I was able to download 4dab-2c62-1e80b491-954f-d32ce353b8c1, but the size of the gzipped file was 0...

When I tried to download 4ba8-e064-ef942cce-a20c-f07ede77a0e5, I received error code 403.

And When I tried to download 4b6c-def9-dd1c991c-8535-6f9a61df9fc8, I received error code 404.


Anyways, I'm now asking the person in charge of permission to look into my permission to retrieve ESG Bulk for AM again.

Click below to post an Idea Post Idea