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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Upvotes
18k 21 12 20
icon clock
10 |1500

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

Upvotes
1 0 0 0

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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 0 0

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea