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>

Best Answer

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

Answers