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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

API response 500

Hi // URGENT

i can t have the data eikon python

it worked but now it doesn t


selected=data1['RIC'].tolist()

data = ek.get_timeseries(selected,['CLOSE'],start_date=SD,end_date=ED,interval='monthly')

Traceback (most recent call last):


File "<ipython-input-19-5896114c36e7>", line 9, in <module>

data = ek.get_timeseries(selected,['CLOSE'],start_date=SD,end_date=ED,interval='monthly')


File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\time_series.py", line 160, in get_timeseries

ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)


File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py", line 92, in send_json_request

raise requests.HTTPError(str(response), response=response)


HTTPError: <Response [500]>

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
4.3k 2 4 5

Hi,

First actions will be:

  • Stop Eikon Desktop,
  • Clear Eikon cache (see here),
  • then restart Eikon Desktop

Could you also detail useful infos:

  • Python version
  • eikon lib version (I suggest to upgrade to latest 1.1.7 version)
  • Eikon Desktop Version

As you can reproduce, to get more information, you can:

  • activate eikon logs (ek.set_log_level(1) before ek.set_app_key(...)
  • configure Eikon Desktop logs to debug
  • then run your script

And share:

  • python output (without personal info like app key)
  • APIProxy log from from Eikon Desktop log files
    => should be in C:\ProgramData\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<date>.<pid>\
icon clock
10 |1500

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

Click below to post an Idea Post Idea