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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonerror-429
icon clock
10 |1500

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

EIKOn .... NOT Datastream

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Upvotes
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea