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
55 7 8 8

Error code 404 | Client Error

Using Python Api on a Jupyter notebook. From times to times receiving the below error, for any refinitiv python formula.

tried resetting my app key. Tried closing and opening refinitiv, relaunching my computer. Try connecting and disconnecting my VPN.

[MainThread 17732] Error code 404 | Client Error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/v1/data</pre>
</body>
</html>
eikoneikon-data-apirefinitiv-dataplatform-eikonworkspace#technologypython 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
10.5k 19 6 9

@emmanuel.chaslin please can you try to upgrade to the latest package using pip:

pip install eikon --upgrade

and see if that improves things. There were a few issues in the past which were resolved. The latest library release is 1.1.6 - so you are about 4 behind the current latest release.

Please let me know how you get on - and if the intermittency resolves.

Also I would recommend you upgrade to the Refinitiv Data Library (which contains a full port of the Eikon Data API Library for backwards compatibility). This contains the latest services from the Refinitiv Data Platform - better data models for TimeSeries history - more, better, faster, cleaner basically. You can try these out in the CodeBook app today under the Examples -> Data Retrieval folder or:

pip install refinitiv-data

I hope this can help.

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.

Solved! Thanks Jason!
Upvotes
10.5k 19 6 9

@emmanuel.chaslin Thanks for your question and sorry to hear about the issue you are having. Can I ask which API library you are using (I think maybe Eikon Data API) and what version?

import eikon as ek
ek.__version__

Thanks.



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.

Hello jason and thanks,

1.1.2

1675259720924.png

1675259720924.png (2.5 KiB)

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.