HTTPError:

I am using the Python API. Any attempt to retrieve timeseries data or news results in this HTTP error:

Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> eikon.get_news_headlines('R:LHAG.DE', date_from='2017-04-05T09:00:00', date_to='2017-04-05T18:00:00') File "C:\Python35\lib\site-packages\eikon\news_request.py", line 106, in get_news_headlines result = eikon.json_requests.send_json_request(News_Headlines_UDF_endpoint, payload, debug=debug) File "C:\Python35\lib\site-packages\eikon\json_requests.py", line 92, in send_json_request raise requests.HTTPError(str(response), response=response) requests.exceptions.HTTPError: <Response [404]>

Best Answer

  • @stephen.wong1

    I checked the entitlements on your Eikon account. You do not subscribe to any services from Thomson Reuters. You subscribe to the product named Xenith from the company named Metastock, which includes a variant of Thomson Reuters Eikon. Metastock Xenith is positioned as a retail product. It can only be sold by Metastock to private (non institutional) clients. The variant of Thomson Reuters Eikon included with Metastock Xenith is a retail variant and it does not include access to Eikon Data APIs and many other institutional features.
    In order to use Eikon Data APIs you need to subscribe to a premium tier variant of Eikon from Thomson Reuters. If you'd like to sign up for Eikon variant, which includes access to Eikon Data APIs, please contact Thomson Reuters Sales team following the link below.
    https://financial.thomsonreuters.com/en/contact-sales.html

Answers

  • @stephen.wong1

    Your account may not have a permission to use API Proxy, as mentioned in this question.. You can verify the problem by using the following steps:

    Can you set Trace Level of Thomson Reuters Desktop to Debug via Thomson Reuters - Configuration Manager?

    image

    Then, kill and restart all Eikon processes.

    After that, please share your SxS log (SxS.<datetime>.<pid>.txt) which is in Eikon Logs path (

    C:\ProgramData\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<datetime>.<pid>).

    If it starts properly, you should see:

    [2018-02-27 03:30:40.423|prod]  (sxs-proxy) SxS Proxy init OK
    [2018-02-27 03:30:40.425|prod] (app) Start server...
    [2018-02-27 03:30:40.443|dev] (app) onStarted: 9000
    [2018-02-27 03:30:40.462|prod] (app) Write port file.
    [2018-02-27 03:30:40.466|prod] (app) API Proxy is listening to port: 9000

    You can share the log file. Then, we will verify it.