Error code 403 | RD-PYTHON-LIB is invalid
Hi everybody,
I am trying to get some Green Bond Data & yesterday everything worked fine.
My approach looks as follows:
green_bonds = rd.discovery.search(
view = rd.discovery.Views.GOV_CORP_INSTRUMENTS,
top = 10000,
filter = "(DbType eq 'CORP' and IsActive eq true and (IsGreenBond eq true))",
select = "RIC,EJVAssetID,DTSubjectName,BusinessEntity,PI,SearchAllCategoryv3,SearchAllCategoryv2,SearchAllCategory,DBSTicker,CouponRate,MaturityDate,IssueDate,ISIN,RCSCurrencyLeaf,RCSCountryLeaf,DbTypeDescription,InstrumentTypeDescription,RCSCouponTypeGenealogy,FaceIssuedUSD,RCSBondGradeLeaf,RCSFIClassificationCodes,IsGreenBond",
order_by = "IssueDate,DTSubjectName desc")
The response I get today is:
RDError: Error code 403 | {"ErrorCode":1401,"ErrorMessage":"Application id RD-PYTHON-LIB is invalid"}. Contact Refinitiv to check your permissions.
I dont get it, yesterday and all the days before the very same code worked fine.
I also tried out different APP-IDs; no success.
What is the issue here?
Kind regards
Best Answer
-
@s2782245 As this is a query coming from an academic institution you need to check with the Librarian or person responsible at your institution for the Eikon or Workspace instance. I have checked the call and it does work - so it is something about the setup that has changed.
Can you try this in the Codebook app and see if this works?
I would also open the APPKEY app and create a new appkey making sure to check the EDP and Eikon Data API boxes and use that when opening a session.
I hope this can help. Let us know how you are getting on.
0
Answers
-
Hi Jason,
thank you very much for your reply. Indeed, I do get an answer if I execute the code in the Codebook app (see picture attached). However, creating a new appkey as indicated, does not work. How can we resolve this? What could have caused this issue?
Kind regards
0 -
FIXED: I can not tell why but this worked:
rd.open_session()
rd.close_session()
rd.open_session()
Then continuing with the initial request as stated above.
0 -
FIXED: I can not tell why but this worked:
rd.open_session()
rd.close_session()
rd.open_session()Then continuing with the initial request as stated above.
0 -
@s2782245 What version of the Refinitiv Data Library are you using ? I would pip install the latest version and see if that helps any. Im not certain if you are running multiple sessions or similar (which I would avoid). Observe the behaviour and let us know if you have any other issues. I hope this can help.
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 中文论坛