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 1

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

#productpython api
1704791950020.png (37.1 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.

1 Answer

· Write an Answer
Upvotes
Accepted
14.4k 30 5 10

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

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.

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?

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.