Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by barbara.petracci · Dec 28, 2020 at 10:39 AM · errorerror app key

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

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

4 Replies

  • Sort: 
avatar image
REFINITIV
Answer by wasin.waeosri · Dec 28, 2020 at 10:48 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by barbara.petracci · Dec 28, 2020 at 08:44 PM

really thanks! a very long way... I'll get in contact with you soon.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by barbara.petracci · Jan 04 at 06:02 PM

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"}

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by chavalit.jintamalit · Jan 05 at 03:36 AM

Hi @barbara.petracci

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.


ahs.png (60.5 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Problem with get a news through api key for python and Web Eikon

When using get_timeseries for RIC FCPOJ0, the open, high and low are correct but the close is a duplicate of yesterdays close. This is not the case with for instance BOK0, where the behaviour is as expected.

How do I fix this error with data field 'TR.RNSARPctOSPostTrans'?

Error handling for get_timeseries()

Can't get quaterly data

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges