question

Upvotes
Accepted
1 0 2 2

EDP API throws 403

Hello,

Since like 2h ago, I'm receiving 403 - forbidden errors from the EDP api, trying to look at the FRTB bucket.

Could you help with this please? (To be clear - it did work yesterday & this morning - but just stopped working.)

Thanks very much

Kind Regards

Ludwig

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

Checking internally about the support procedure on these type of questions.

The customer also sent an email, the FRTB team is on this issue now.

Hello @ludwig.arndt

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@ludwig.arndt,

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

Thanks,

AHS

Upvotes
Accepted
13.7k 26 8 12

@ludwig.arndt,

Do not modify your code, it is fine :-)

I have just received confirmation that your permissioning was changed. The team is looking into this, and will come back to you shortly.

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.

Upvotes
22.1k 59 14 21

Hello @ludwig.arndt,

Please raise this issue with Refinitv Helpdesk. They can check the entitlements/logs and validate the source of this error.

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.

Upvotes
13.7k 26 8 12

@ludwig.arndt,

As you are using the API, I am assuming you renew your access token on a regular basis, as it expires after 5 minutes. I also say this because an expired token would normally result in a 401, not a 403.

To help us debug, can you tell us:

  • What is the content of the error message delivered in the body of the 403 response ?
  • What is the exact query you are posting ?

This might be a permissioning issue; maybe your account permissions were modified by mistake. This has been escalated to the appropriate team, to check.

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.

Upvotes
1 0 2 2

@christiaan.meihsl - i do handle token expiries and that used to work (catching the 401 and just refreshing the token).

Obtaining an "initial" access token does work too. However i'm denied endpoint

https://api.refinitiv.com/file-store/beta1/file-sets?bucket=frtb-bucket

and - thanks for the suggestion - get the error message

'{"error":{"id":"18ed201e-fca4-4f1b-aeff-626fb608c5eb","code":"insufficient_scope","message":"access denied. Scopes required to access the resource [trapi.cfs.publisher.read] or [trapi.cfs.subscriber.read]","status":"Forbidden"}}'

On fruther debugging, i see i am currently sending below credentials to obtain the initial token - maybe the scope is wrong now?

{

"credentials": {

"username": "ludwig.arndt1@db.com",

"password": "<notmypassword>",

"grant_type": "password",

"scope": "trapi",

"takeExclusiveSignOnControl": true

},

"cfs_credentials": {

"client_id": "<some hash>",

"client_secret": "<secret>"

}

}

Thanks for your help!

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.

actually sorry - the credentials i send for log in is only part of it, here:

"credentials": {

"username": "ludwig.arndt1@db.com",

"password": "<notmypassword>",

"grant_type": "password",

"scope": "trapi",

"takeExclusiveSignOnControl": true

}

and the CFS credentials come in the request header.

Upvotes
13.7k 26 8 12

@ludwig.arndt,

Thank you for the details, they are helpful.

The endpoint (https://api.refinitiv.com/file-store/beta1/file-sets?bucket=frtb-bucket) is correct, as well as the scope (trapi) you use when requesting the token.

Before you change anything in your code, can you confirm that the same code you are using was working correctly yesterday or earlier today ?

The error message seems to indicate a permissioning issue; maybe your account permissions were modified by mistake. I have escalated this additional information to the appropriate team, to check.

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.

@ludwig.arndt, I have just received confirmation that your permissioning was changed. The team is looking into this.

Upvotes
1 0 2 2

Hi Christiaan, yes, this is exactly why I'm wondering: The above error started some time this morning (like around 10 FFT??). I didn't change anything to my code and it did work before.

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.