Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

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

eikon-data-api#technology#producterror-400
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @dw.jung

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@dw.jung

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

Upvotes
Accepted
79.2k 251 52 74

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


1704424497530.png (2.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 2 3

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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.