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
Best Answer
-
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.
0
Answers
-
Hello @ludwig.arndt,
Please raise this issue with Refinitv Helpdesk. They can check the entitlements/logs and validate the source of this error.
0 -
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.
0 -
@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!
0 -
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.
0 -
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.
0 -
@ludwig.arndt, I have just received confirmation that your permissioning was changed. The team is looking into this.
0 -
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.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛