How to solve Error python error 404 error

Hi, i'm unable to access the Eikon data API, i get the following :

HTTP request failed: EikonError-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>


Already tried every single solution discussed in related threads, still no results

Best Answer

  • raksina.samasiri
    Answer ✓

    Hi @mobouchard ,

    I've checked your Eikon variant and found that it's Eikon - Exchange Pricing,This Eikon tier does not include Eikon Data API (Python) feature.

    Please contact your account manager to discuss the product tier.

Answers

  • @mobouchard what version of the library are you using? - I suggest you download the latest RD library package:

    pip install refinitiv-data

    also please downgrade httpx package to say 19.x - not sure which version of python you are running (maybe you have a brand new install with a much more current version).


    then in a notebook:

    import refinitiv.data.eikon as ek
    ek.set_app_key('YOUR API KEY HERE')
    df,err = ek.get_data('VOD.L',['TR.CommonName'])
    df

    Pls see if this works.

  • Hi,

    I'm using python 3.11,

    i've tried refinitiv-data as well as downgrading my httpx, i get the exact same error code.


    is there any way i could get some live support to figure a way out of this?