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?
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.
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: