I want to use a python Eikon API. I already generated an app key. When running the API, I receive the following error message: Client Error:
@d.ruecker
Thank you very much for the info. It confirms what I thought to be the likely root cause of the problem. The issue requires intervention by Refinitiv Support. I opened a support case with Refinitiv Helpdesk on your behalf. Refinitiv Support will reach out to you with the next steps. For your reference the case number is 09990798.
As far as I can see your Eikon account is permissioned to run Eikon API Proxy and to use Eikon Data APIs. As @wasin.w said, we do need the full error message to provide any assistance here. It would be also very helpful to include the line of code that returned this error. Alternatively you could try troubleshooting the issue yourself following the steps in the article titled "Eikon Data API(Python) Troubleshooting".
The full error message is the following:
Client Error: <!--# Id: internetaccess.html 115044 2016-03-18 17:59:46Z szhang --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta name="description" content="Zscaler makes the internet safe for businesses by protecting their employees from malware, viruses, and other security threats."> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Internet Security by Zscaler</title>
The line of code is:
ek.get_timeseries(["MSFT.O"],start_date = "2016-01-01",end_date="2016-01-10")
The error message suggests that Zscaler Internet security product used on your corporate network blocks the HTTP request created by Eikon Data APIs. Could you please confirm that you're submitting data requests from within your corporate network (this means you're either physically located in your company's office or you're using corporate VPN) rather than directly connecting to the Internet, as would be the case if you were using an Internet Service Provider at home?
I assume your Eikon application is running fine and is able to retrieve the data, right? Could you please confirm this as well?
Finally, could you enter the following URL in an Internet browser, and share the result? This test needs to be performed while Eikon application is running on your machine. http://localhost:9060/api/status
Yes, I'm submitting data requests from within my corporate network.I'm also able to retrieve data via the Eikon application.When entering the URL, I receive the following message:
{"statusCode":"ST_PROXY_READY","version":"2.8.0"}