Hello again everybody, I'm having issues making API calls to Eikon.
Does anybody know what could be the source of this error? I updated the python module to the latest.
Thanks for your time,
Aquiles
@aquilesjlp300I 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
Eikon Data API sends requests to this URL: http://localhost:{port}/api/v1/data in order to get the data. If you use Eikon API Proxy, the default port number is 36036. However, if you use Eikon, the default port number is 9000.
From the error, it returns 404 Not Found. Therefore, the application that listens on that port is unable to provide a response for this URL: http://localhost:{port}/api/v1/data.
From the question, I assume that you are connecting Eikon Data API with Eikon. Therefore, the default port is 9000.
To verify the problem, please run "netstat -anb" as Administrator to verify all listening TCP port. The TCP port 9000 must be owned by EikonBox.exe.
TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING[Eikonbox.exe]
You can try http://localhost:9000/api/v1/data with your browser. You should see Internal Server Error instead of Not Found.
Your assumption is correct, I'm using Eikon Data API with Eikon, and the default port should be 9000 as you mention.
Can this issue be solved by adding the URL you gave me to "Trusted Sites" in Internet Options (using 9000 as port)?
@aquilesjlp300
Yes, it shows that Eikon is properly listening on TCP port 9000. Can you run a postman tool to send a POST request to http://localhost:9000/api/v1/data to verify the problem?
The response of the POST request should be 200 OK.
You can download postman from https://www.getpostman.com/.
I am facing the same error, and this is the result of my Postman request.
Any ideas?
Please let us know, if you have any update on this question.
It could be a permission issue. Please follow steps in this question to verify the problem.
Thanks a lot for your prompt response Alex! Ok, got that. I'd like to point out something strange, given that you mention this. When I use Eikon on my personal computer I don't get this issue, and I use the same Eikon credentials as I do for the machine that's giving me trouble. Why would that be?