Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

error code 500

Hi
I'm trying to connect the python data api from spyder 3.3.6.

Using Eikon API Version 1.1.8


When i try this simple request:

import eikon as ek

ek.set_app_key('my key')

df = ek.get_timeseries(["MSFT.O"],

start_date="2016-01-01",

end_date="2016-01-10")


I get the following error message:

2021-02-26 09:16:21,835 P[10184] [MainThread 19780] Error code 500 | Server Error: {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}

2021-02-26 09:16:21,838 P[10184] [MainThread 19780] HTTP request failed: EikonError-Server Error: {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}


Then i tried this code:

import eikon as ek

ek.set_log_level(1)

ek.set_app_key("my key")

state = ek.get_desktop_session().get_open_state()

if state == ek.Session.State.Open:

ek.get_news_headlines('R:LHAG.DE', date_from='2019-03-06T09:00:00', date_to='2019-03-06T18:00:00')

The output of this request, i postet in the following .pdf

Eikon API Error 500.pdf


Does anyone have a clue, how to solve this problem?

Thank you very much for your help,

best wishes

Gregor

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

Upvotes
Accepted
39.4k 77 11 27

The issue was raised to Refinitiv support as case #09709875 and resolved by applying a backend config change on user's Eikon account.

icon clock
10 |1500

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

Upvotes
4.3k 2 4 5

Hi @gregor.zemp,

Few months ago, another user had the same issue : https://community.developers.refinitiv.com/questions/68264/code-500-internal-error.html

Could you test and check if it's fixing yours ?

icon clock
10 |1500

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

Thank you for your response. Unfurtunately this was not helpful in my case, i tried this, but it didn't work.

Upvotes
1 0 1 1

does anyone have another idea?

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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