News via python (error message)

Dear Experts,
My purpose is to download news about a bunch of company's tickers via python (or R).
I've never used python (in eikon) before. So, I'm a novice.
I've generated the app key that I can read in my screen.
However, using python (or R) I received this error (I replaced the key with some XXX):
[MainThread 140139205887808] Error code 403 | Client Error: {"ErrorCode":1401,"ErrorMessage":"Application id cc81d890XXXXXX is invalid"}
I contacted the eikon support. They told me to post the error message here.
Could you please help me? I really appreciate.
Thanks in advance. Best
Best Answer
-
Could you let me know what is the app name you registered?
I can find 1 app key from your organization. (I will add a private comment for the app key detail)
I tested it and it works fine.
0
Answers
-
Hello @barbara.petracci
Have you tried the steps in Eikon Data API(Python) Troubleshooting article yet?
What is the Python version (check by "python --version" command) and Eikon Data API version (please see the steps in the above article)?.
Could you please share the snippet code (please censor your App Key0.
0 -
really thanks! a very long way... I'll get in contact with you soon.
0 -
Dear Wasin,
====
python version -> Python 3.8.5 (default, Jul 28 2020, 12:59:40)
eikon python version -> 1.1.8
thomson reuters eikon desktop version -> Desktop 4.0.52 (4.0.52055)
====
PYTHON code
import eikon as ek
ek.set_app_key('xxxxxx')
ek.get_news_headlines('R:LHAG.DE', date_from='2019-03-06T09:00:00', date_to='2019-03-06T18:00:00')=> ERROR:
2020-12-31 12:54:55,029 P[917] [MainThread 139842538506048] Error code 403 | Client Error: {"ErrorCode":1401,"ErrorMessage":"Application id xxxxx is invalid"}0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 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
- 275 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
- 652 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛