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 1 1 2

Error code 429 | Client Error: Too many requests, please try again later. Wait for 1 second.

A user has the following problem: When he pulls data from Datastream in Python, he gets the following message relatively quickly:

Error code 429 | Client Error: Too many requests, please try again later. Wait for 1 second.

This does not happen when his colleagues run the same script on their account. What could be the cause of the problem?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apierror-429
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.

EIKOn .... NOT Datastream

Hello @lars.wiemer

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

Hello @lars.wiemer,

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

Thanks,

-AHS

Upvotes
Accepted
39.4k 77 11 27

@lars.wiemer

The error message indicates that user attempted to send more than 5 requests per second, which breached the throttling limit for Eikon Data APIs documented in Eikon Data API Usage and Limits Guideline. I can see only one scenario that would produce the behavior the user experienced, i.e. the user must be running several scripts concurrently. Eikon Data APIs methods are synchronous. This means data requests are sent sequentially, not in parallel. It is practically impossible to send more than 5 requests per second from the same script. However, when several scripts are running at the same time, all of them may be sending requests in parallel. I also think the user running several scripts at the same time is likely the reason why other users (who don't run multiple scripts at the same time) don't experience the error, as you mentioned.

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
24.7k 54 17 14

Hello @lars.wiemer

How many requests did the user send? Based on the Eikon Data API Usage and Limits Guideline document, the current request per second limit is 5 requests per second.

Please check the answers in the following posts for more detail about this issue:

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.

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.