Begging for help - ld.open_session() failed with eikon app_key

vento
vento Newcomer
edited February 3 in Eikon Data APIs
LSEG_session_open_fail.png

Please kindly help😭😭

I failed in both methods:

1.Authentification to LSEG Service https://developers.lseg.com/en/api-catalog/lseg-data-platform/lseg-data-library-for-python/quick-start#getting-started-with-python

ld.open_session(config_name="/content/Configuration/lseg-data.config.json",
name="platform.ldp")

Loading endlessly

LSEG_session_open_timeout.png

2.

ld.session.platform.Definition(  app_key = EIKON_APP_KEY,   
grant = ld.session.platform.GrantPassword( username, password),   
signon_control=True
).get_session()

[Error 400] - {'error': 'access_denied'}

Profuse Thanks🙇‍♂️

Best Answer

  • Jovanni
    Jovanni Newcomer
    Answer ✓

    Hi @vento with the answer provided above by @Gurpreet, Thank you as well Gurpreet.

    this is how I have it working on my local machine, please see images below:
    Please note that you will need to have downloaded the Refinitiv desktop workspace app. as you will need to have it open when trying to access LSEG/Refinitiv databases.

    image.png image.png

Answers

  • Hello @vento

    The APP key has to be for Platform Session (EDP API) in the list. I would suggest that you follow all the steps in this quickstart to get begin with. The guide explains all the required dependencies and the credentials required for each type of session.

    image.png
  • Jirapongse
    Jirapongse ✭✭✭✭✭

    Please share the debug log file (lseg-data-lib.log) by setting a file.enabled to true.

    image.png