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 abdessamad.outerqiss · Sep 09, 2019 at 03:14 PM · python api eikonapp key generator

Eikon Python API - unable to create an App Key

ak-gen.png

Hi,

I'm trying to generate the App Key to use Eikon Data API for Python as per:

https://developers.refinitiv.com/eikon-apis/eikon-data-apis/quick-start

When I click on the "Register New App", nothing happens

Even ''API'' field values are not available to select ''Eikon Data API'' as mentioned in the above guide.

Thanks!

ak-gen.png (17.9 KiB)

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.

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit.jintamalit · Sep 12, 2019 at 05:12 AM

Hi @abdessamad.outerqiss

Your Eikon version is too low and it does not have APIPROXY service (or it has a low version which is not compatible with API version1.0.1).

I also think that it may also be related to why you cannot use APPKEY application. In any case, please upgrade your Eikon Desktop first and try again. Thanks.

Comment

People who like this

0 Show 1 · 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
abdessamad.outerqiss · Oct 01, 2019 at 01:07 PM 0
Share

Thanks Chavalit!

Indeed, it was due to the old version, I upgraded and can now generate the key.

avatar image
REFINITIV
Answer by James.Perkins · Sep 09, 2019 at 06:16 PM

thanks for your query. If API options are grayed out then it's likely the App did not load properly. I would recommend re-loading it and trying again. Generally if a Key is unable to be generated for some reason an error will appear,,, but it sounds like in your case you're not getting any error, which likely points to the AppKey app itself rather than something request related. Would also ensure other apps in Eikon are working correctly, there could be something more global interfering.


appkey.png (44.3 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.

avatar image
Answer by abdessamad.outerqiss · Sep 10, 2019 at 04:19 PM

Thanks @James.Perkins for your reply.
I was able to generate the key via web version of Eikon (Desktop one doesn't work as I mentioned). When I tried to use the key in the code:

import eikon as ek

ek.set_app_key('xxxxx')

I got another error:

Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000027C90605C88>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)) Error on checking port 36036 : HTTPConnectionPool(host='localhost', port=36036): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000027C906050F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)) Error on handshake port None : Failed to parse: localhost:None Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

...

EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

I can't use netstat command to check ports, due to corporate restrictions.

Thanks

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 · Sep 10, 2019 at 09:33 PM

Hi @abdessamad.outerqiss

Do you know what Eikon variant you are using ?

Or please try to follow this article to verify if the APIPROXY service on Eikon Desktop is enabled properly and also Eikon Data API version installed on your machine.

I think it could be that you may use Eikon variant that does not support APIPROXY service.

Or you EIkon Desktop installation may have not been successful.

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 abdessamad.outerqiss · Sep 11, 2019 at 12:31 PM

Hi @chavalit.jintamalit,

Eikon version I use is 4.0.26424 eikonversion.png

As per https://developers.refinitiv.com/eikon-apis/eikon-data-apis/quick-start

Eikon version should be 4.0.36 or higher. Could this be the cause of issue?

For Eikon data API, it's 1.0.1 version

I followed instructions on the link you mentioned, I noticed that:

- "Configure" button is deactivated under Configuration manager config-manager.png

- No SxS files found under TRD folder

- http://localhost:9000/ping?all doesn't work for me

As I mentioned before, I was able to generate the key only via Eikon web version. Desktop one doesn't anything (attachment in my first post).

I'd like to mention that, in excel too, I can't see ThomsonReuters tab.

For variant, how I could find the one installed?

Thank you!


eikonversion.png (19.4 KiB)
config-manager.png (50.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 >
9 People are following this question.

Related Questions

Server error: Could not create application. An application with the same name or ID may already exist

AttributeError: module 'eikon' has no attribute 'set_app_key'

Trying to convert an Excel search line to python

Port number was not identified. httpx api has changed.

400 Bad Request - catch/retries and chunking don't help

  • 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
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • 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