PYTHON API: requests.exceptions.HTTPError: Backend error. 400 Bad Request

I am having this response (requests.exceptions.HTTPError: Backend error. 400 Bad Request) when trying to download data from your server.

example: in this case subyacente[0] = 0#STXE*.EX

1704791950020.png


This was hapening in the first hours in the morning last week and then worked relatively good but today is not working at all.

Please I need someone to check this with me.

thank you

Best Answer

  • raksina.samasiri
    Answer ✓

    Hi @javier.rodriguez.f ,

    Have you had a chance to check the answer in this thread that

    This error was mentioned in the Eikon Data API Usage and Limits Guideline.

    When a request fails because the platform is overwhelmed, an HTTP response with status code 400 and the message "Backend error. 400 Bad Request" is returned. Then the Python library raises an EikonError exception with the following message:
     

    The application can catch this exception and try to get the data after waiting for few minutes.

    However, if the issue occurs again, please provide the Eikon logs of the request that return an error, you can see how to enable logging of Eikon Desktop or LSEG workspace in this article

Answers

  • The same issue today, several times in different time of the day.

  • hi,

    I have an older eikon lib version (0.1.12), the enable log function was not included in it. I have complicated dependencies that makes me difficult to get into the newer version.

    But regarding that some of the underlying are downloading correctly (apparently) i don't think the eikon lib issue would be the problem actually.


    regards

  • Hi @javier.rodriguez.f and @michael.ivanov ,

    I've found an information from the support team that this issue is now resolved. Could you please let me know if the issue still persists?