Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 1 2 3

Issues with our API Connection (Error code 403 / MainThread 9584 / [MainThread 9256 / MainThread 10220)

Hi Community,

since this week we are experiencing issues with our API process/connection. We are using Eikon.

During the day we have different processes which are retrieving different data points via API connection.

Some retrieval processes don’t return any data (just error messages), others retrieve data but not for all requested underlying’s (some work, others don’t and produce an error message in the process).

Thanks in advance for your help!


Please see below error messages from today:


Example 1:


2023-05-25 13:50:08 connected to reuters api

13:50:08

2023-05-25 13:50:18,502 P[5984] [MainThread 10220] Error code 403 | Client Error:

2023-05-25 13:50:18,502 P[5984] [MainThread 10220] HTTP request failed: EikonError-Client Error:

2023-05-25 13:50:33,565 P[5984] [MainThread 10220] Error code 403 | Client Error:

2023-05-25 13:50:33,565 P[5984] [MainThread 10220] HTTP request failed: EikonError-Client Error:

2023-05-25 13:50:48,612 P[5984] [MainThread 10220] Error code 403 | Client Error:

2023-05-25 13:50:48,612 P[5984] [MainThread 10220] HTTP request failed: EikonError-Client Error:

2023-05-25 13:51:03,644 P[5984] [MainThread 10220] Error code 403 | Client Error:

2023-05-25 13:51:03,644 P[5984] [MainThread 10220] HTTP request failed: EikonError-Client Error:

2023-05-25 13:51:18,707 P[5984] [MainThread 10220] Error code 403 | Client Error:

2023-05-25 13:51:18,707 P[5984] [MainThread 10220] HTTP request failed: EikonError-Client Error:

Error! Could not fetch data.


Example 2:


2023-05-25 13:05:26,748 P[5408] [MainThread 9584] Error on handshake url http://127.0.0.1:9060/api/handshake : EikonError(1, 'Status code 400: App key is incorrect')

2023-05-25 13:05:26,748 P[5408] [MainThread 9584] Error on handshake url http://127.0.0.1:9060/api/handshake : EikonError(1, 'Status code 400: App key is incorrect')

2023-05-25 13:05:26,748 P[5408] [MainThread 9584] Port number was not identified, cannot send any request

2023-05-25 13:05:26 connected to reuters api

2023-05-25 13:07:03,624 P[5408] [MainThread 9584] Error code 403 | Client Error:

2023-05-25 13:07:03,624 P[5408] [MainThread 9584] HTTP request failed: EikonError-Client Error:

2023-05-25 13:07:18,671 P[5408] [MainThread 9584] Error code 403 | Client Error:

2023-05-25 13:07:18,671 P[5408] [MainThread 9584] HTTP request failed: EikonError-Client Error:

2023-05-25 13:07:33,843 P[5408] [MainThread 9584] Error code 403 | Client Error:

2023-05-25 13:07:33,843 P[5408] [MainThread 9584] HTTP request failed: EikonError-Client Error:

2023-05-25 13:07:49,297 P[5408] [MainThread 9584] Error code 403 | Client Error:

2023-05-25 13:07:49,297 P[5408] [MainThread 9584] HTTP request failed: EikonError-Client Error:

Error! Could not fetch data.


Example 3


2023-05-25 14:05:12,703 P[9552] [MainThread 9256] Error code 403 | Client Error:

2023-05-25 14:05:12,703 P[9552] [MainThread 9256] HTTP request failed: EikonError-Client Error:

2023-05-25 14:05:27,736 P[9552] [MainThread 9256] Error code 403 | Client Error:

2023-05-25 14:05:27,736 P[9552] [MainThread 9256] HTTP request failed: EikonError-Client Error:


eikoneikon-data-api#producterror-403multi-threading
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.

1 Answer

· Write an Answer
Upvotes
Accepted
14.7k 30 5 10

Hi @ff ,

According to the error message, the application key used when calling set_app_key method is invalid.

You can run the App Key Generator to check this application key or generate a new application key, as mentioned in the Eikon Data API Quick Start for instructions on how to create an app key to be used with Eikon Data APIs.

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.