RDP Python query
I am trying to make use of the RDP python libaries (https://developers.refinitiv.com/refinitiv-data-platform/refinitiv-data-platform-apis/learning?content=38563&type=learning_material_item)
I have successfully put in my credentials and obtained my token, however when I run any query (eg timeSeries.py) I receive the following error:
(base) C:\Users\u6069419>C:/Users/u6069419/AppData/Local/Continuum/anaconda3/python.exe "c:/Users/u6069419/Documents/RDP Libraries/timeSeries.py"
Getting OAuth access token...
Reading the token from: token.txt
Token expired, refreshing a new one...
Saving the new token
Invoking data request
Unable to get data. Code 403, Message: {"error":{"id":"06474bb7-8def-457e-a3ad-d92426c10463","code":"insufficient_scope","message":"access denied. Scopes required to access the resource [trapi.data.historical-pricing.summaries.read]","status":"Forbidden"}}
Can you advise what this problem signifies? I am running the code within Visual Studio Code python terminal
Thank you
Best Answer
-
Hi @jack.coppinger1,
Your credentials do not provide you the permissions to view this data. You will need to request to update your credentials. I would suggestion you open a Refinitiv Support ticket and they will guide you with the proper procedures to request for access.
0
Answers
-
Hi Nick,
Thanks for your reply. I opened a ticket and got level 2 access to my Machine ID, but am still having the same issue, do you know if a specific permission has to be added for timeseries? Thanks
0 -
Hi @jack.coppinger1,
I'm not sure what you mean by "...and got level 2 access to my Machine ID". I would think you would have received a message that indicates you have permissions to access HistoricalPricing. What did you request for?
We don't control permissions within this website - we help with issues using the APIs. If you continue having issues accessing data and have successfully requested for it, you will need to follow up with the helpdesk.
0 -
Hello @jack.coppinger1
Please contact your Refinitiv representative to help you verify your permission and the data that you need.
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛