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
1 0 1 2

Eikon API error

Hi

One of user is seeing the below error message.

data, err = ek.get_data('7203.T', 'CF_LAST')


2021-04-08 13:28:04,411 P[492] [MainThread 8980] Error code 404 | Client Error:

2021-04-08 13:28:04,411 P[492] [MainThread 8980] HTTP request failed: EikonError-Client Error:

What should she do for this?


Regards,

Hiro

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Upvotes
Accepted
18.2k 21 13 21

Hi @Hidehiro.Nagase

I checked the user's Eikon variant and the user should have API feature enabled.

I would suggest that you check the user company network policy / proxy / firewall with their IT team.

For network requirements, please contact Refinitiv Helpdesk at https://my.refinitiv.com/ and ask the helpdesk to escalate the ticket to Technical Service Group.

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.

Upvotes
18.2k 21 13 21
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.

Upvotes
1 0 1 2

Hi @chavalit.jintamalit

Thank you for your reply. Will let the client know about it.

Regards,

Hiro

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.

Upvotes
1 0 1 2

Had tried the below solution but she has still a trouble. Could you anyone help this?

====
import eikon as ek

ek.set_log_level(1)

ek.set_app_key(‘dummy:ダミーに変換してます’)


2021-04-16 16:46:31,918 P[14676] [MainThread 10812] Send GET request to http://127.0.0.1:9060/api/status to detect API Proxy...

2021-04-16 16:46:31,918 P[14676] [MainThread 10812] Request to http://127.0.0.1:9060/api/status

headers = {'x-tr-applicationid': ' dummy '}

params = None

2021-04-16 16:46:32,481 P[14676] [MainThread 10812] HTTP request response 404:

2021-04-16 16:46:32,481 P[14676] [MainThread 10812] Checking port 9060 response : 404 -

2021-04-16 16:46:32,481 P[14676] [MainThread 10812] Port 9060 was retrieved from .portInUse file

2021-04-16 16:46:32,481 P[14676] [MainThread 10812] Try to handshake on url http://127.0.0.1:9060/api/handshake...

2021-04-16 16:46:32,481 P[14676] [MainThread 10812] Request to http://127.0.0.1:9060/api/handshake

headers = {'Content-Type': 'application/json', 'x-tr-applicationid': ' dummy '}

params = None

2021-04-16 16:46:32,591 P[14676] [MainThread 10812] HTTP request response 404:

2021-04-16 16:46:32,591 P[14676] [MainThread 10812] Response : 404 -

2021-04-16 16:46:32,591 P[14676] [MainThread 10812] Response 404 on handshake port 9060 :

2021-04-16 16:46:32,591 P[14676] [MainThread 10812] Application ID: dummy

2021-04-16 16:46:32,591 P[14676] [MainThread 10812] Init a Desktop session with new app_key

2021-04-16 16:46:32,606 P[14676] [MainThread 10812] Port 9060 on local proxy was detected

====

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.