eikon api, error code 400 | Backend error 400 Bad Request

When I get data with loop,

there is an error, "error code 400 | Backend error 400 Bad Request"


It was working properly some times,

but iterating, at last encounter this error.eikon-에러-400.png

Best Answer

  • Jirapongse
    Answer ✓

    @dw.jung

    Thank you for reaching out to us.

    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.

Answers

  • What does overwhelming mean here? The platform is overwhelmed by the users script? Or does it mean the platform is in general overwhelmed due to overload of a lot of users?

  • @Bjorn8

    It could be the second one: the platform is in general overwhelmed due to overload of a lot of users' requests.

  • I am facing the same type of issue. So, what we can do with this issue ?
  • @Student-03

    You can try/catch the execeptions in order to re-request, as mentioned on this discussion.

    You can also reduce the number of requested items and data points.