Keep getting EikonError-Server Error

I keep getting EikonError-Server Error

The sample code and detailed message is here:

* code

sec_news = ek.get_news_headlines('005930.KS',

date_from='2019-10-06T09:00:00',

date_to='2019-10-07T18:00:00')


* error message

2021-09-13 14:16:26,909 P[2472] [MainThread 13200] Error code 500 | Server Error: {"code":500,"message":"unable to verify the first certificate","statusMessage":"Internal Server Error"} 2021-09-13 14:16:26,910 P[2472] [MainThread 13200] HTTP request failed: EikonError-Server Error: {"code":500,"message":"unable to verify the first certificate","statusMessage":"Internal Server Error"}


Can I get a help?

Thanks a lot.

Best Answer

  • @kimyoungh

    It looks like that the API is unable to connect to the server due to the following certificate error.

    "code":500,"message":"unable to verify the first certificate","statusMessage":"Internal Server Error"

    It may relate to a networking or firewall/connection issue. You can the Eikon support team directly via MyRefinitiv to verify the problem.


Answers

  • Hi @kimyoungh ,

    I can run this code properly, could you please verify on your side whether the error still persists?

    1631618128792.png

    Also, there seems to be no news-headline data returned from an API during the start and end time provided, so I tried another date range with available data and the news headlines are returned properly.

    1631618359057.png

  • 에러난다구.png

    Yes, I receive this error message constantly. It's been a while since I saw this message.

  • Hello @kimyoungh ,

    I am able to run the query, same as @raksina.samasiri , and able to retrieve the results, if I change the date range.

    Please confirm, was the issue intermittent on your side, or do you continue seeing this error?

    If the issue persists, are you able to run other queries, or any call to Eikon Data API results in this error