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 1 1 1

Code 500: Internal error

Hi,


Since yesterday, I'm unable to use the python API to pull data on my window desktop, while terminal itself appears to be functioning ok. Here's the example:


>>> import refinitiv.dataplatform.eikon as ek

>>> ek.set_app_key('XXXXXXXXXXXXXXXXXXXX')

>>> ek.get_timeseries(['VOD.L', 'GOOG.O'])

2020-10-27 07:54:02,668 - Session session - Thread 980 | MainThread

Error code 500 | Server Error: Internal Server Error - {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "C:\Users\glswinprod\Miniconda3\envs\refinitiv\lib\site-packages\refinitiv\dataplatform\legacy\time_series.py", line 174, in get_timeseries

response = refinitiv.dataplatform.legacy.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)

File "C:\Users\glswinprod\Miniconda3\envs\refinitiv\lib\site-packages\refinitiv\dataplatform\legacy\json_requests.py", line 129, in send_json_request

raise_for_status(response)

File "C:\Users\glswinprod\Miniconda3\envs\refinitiv\lib\site-packages\refinitiv\dataplatform\legacy\json_requests.py", line 258, in raise_for_status

raise RDPError(response.status_code, error_msg)

refinitiv.dataplatform.errors.RDPError: Error code 500 | Server Error: Internal Server Error - {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapi
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.

@philip.liu

Hi,

Thank you for your participation in the forum. Is the reply below satisfactory in answering your question? If yes please click the 'Accept' text next to the most appropriate reply.

This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @philip.liu

Please follow these 2 steps:

1. upgrade the Eikon Data API to 1.1.7 (released on 16 Oct 2020)

pip install eikon --upgrade --no-cache-dir


2. Shutdown Eikon Desktop, then clear Eikon cache and launch the EIkon Desktop again


Now, please try your Eikon Data API again.

If it still does not work, please submit a ticket to Refinitiv Helpdesk at https://my.refinitiv.com/ and ask for the ticket to be escalated to the "Technical Support" group.


ahs.png (108.4 KiB)
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.