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?

Hello @stepan.kalika

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@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.