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