question

Upvotes
Accepted
25 1 2 2

eikon.eikonError.EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv - doesn't help

rdp-apirefinitiv-data-platformport-number
icon clock
10 |1500

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

Hi @stepan.kalika,

Can you please provide the version of the API you are using - it is outlined in that document. Also, did all the troubleshooting steps pass in the article? That is, did you confirm the port, did you confirm Desktop version, the ping resulted in "path":"/api"? Is this the first time you are using the API or did it just stop?

1 Answer

· Write an Answer
Upvotes
Accepted
86.2k 292 53 79

@stepan.kalika

I have a PowerShell script (CheckEikonDataAPI16.ps1.txt )that can be used to verify the status of the Eikon Data API Proxy. You may need to restart Eikon.

1. Rename it to CheckEikonDataAPI16.ps1

2. You need to run the PowerShell command as Administrator to change the policy by using the following command.

 Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine

3. Next, run the CheckEikonDataAPI16.ps1 in the PowerShell

4. The output.txt will be created in the current directory. Please share this file

5. Finally, you may need to change it back to Undefined.

Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope LocalMachine

Moreover, please provide the information mentioned by my colleague.


icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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