How to create clientID (APIKey) for Refinitiv Data Platform

When I try to create token to request for ESG data, I need to input Username (Machine ID), Password (Password of Machine ID) and Client ID. From guide, I can generate from https://emea1-apps.platform.refinitiv.com/apps/appkeygenerator. I logged in with my developer ID and generate a AppKey and use the App Key as client ID. then when I query esg data that token, I got "access denied". What is the client ID, how I get it?
Best Answer
-
Hello @bin0 ,
From the output, it does look like you are missing the permissions, for RDP ESG, on the credentials supplied.
I would like to suggest to verify this with the Refinitiv person, who has assisted in requesting the RDP ESG permissions for you, this is likely your Refinitiv account manager, to be fully sure.
0
Answers
-
Hello @bin0 ,
AppKeyGenerator is the correct way to generate CLIENT_ID. Please further refer to Quickstart guide for Refinitiv Data Platform.
If you have generated AppKey - it is your CLIENT_ID to use for RDP API access, you are absolutely correct in using it.
The details that I would suggest to check:
- Is your ID permissioned to RDP ESG content? I would suggest to contact your Refinitiv account team to confirm, if your RDP ID is permissioned for ESG, and which ID, human, machineID, or both. Often, only human ID is permissioned for RDP static content.
- Permissioned for RDP ESG content access, or for RDP ESG Bulk content?
- Have you marked "EDP API" (this is the same as RDP API) when you generated the app key? This would be required, please see Quickstart for the detailed infromation
Hope that this helps to understand the cause
0 -
I did as follwoing screenshot but when I use App Key, my machine ID and machine id related password and use python to generate token and request data (https://api.refinitiv.com/data/environmental-social-governance/v2/views/basic?universe=IBM.N), I got following error
{"error":{"id":"59aa5e5f-054f-4422-9bee-240faebf4aab","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.data.esg.views-basic.read] or [trapi.demo-access]. Missing scopes: [trapi.data.esg.views-basic.read trapi.demo-access]","status":"Forbidden"}}
and which account I should log in to generate App Key, my machine ID, or my developer id?
0 -
Hello @bin0 ,
Please use your RDP human user id, that is included in RDP Welcome email letter, to generate API Key.
However, I fully agree with @nick.zincone, requesting RDP ESG on RDP API Playground is an excellent way to verify the issue. If you are able to request ESG on API Playground, then the issue is with programmatic access, if you are not able to request RDP ESG on API Playground, the issue is with permissioning.
The human RDP credentials that you are logging into API Playground with, should be used to generate API Key (please see the link to APP Key generator on API Playground, top left corner)
and next review, when you print your token, in section "scopes" do you see "esg*" scopes present?
0 -
1. I tried use swagger from API playground to try following query, I got same error. but I check with support team, They said I had permission to access the ESG data?
2. "next review, when you print your token, in section "scopes" do you see "esg*" scopes present?" what's your mean? how could I see esg*. I did not understand this question.
{ "error": { "id": "8019d203-4a87-4a6c-b890-b5cedbaba18a", "code": "insufficient_scope", "message": "access denied. Scopes required to access the resource: [trapi.data.esg.views-basic.read] or [trapi.demo-access]. Missing scopes: [trapi.data.esg.views-basic.read trapi.demo-access]", "status": "Forbidden" } }
https://api.refinitiv.com/data/environmental-social-governance/v2/views/basic?universe=IBM.N
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 688 Datastream
- 1.4K DSS
- 624 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 692 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 105 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 10 Wealth Management Web Services
- 91 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛