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

This morning, I got this error message and I cannot use Eikon Python API now. I will be careful next time, but this penalty of 51602 seconds is equivalent to 14 hours or more, which means that I cannot use the programs that I have developed for trading today at all and my entire day will be wasted! This is huge penalty to an active user like me.

Could someone contact with me and let me know more detailed information about what triggered this harsh sanction? I read https://developers.refinitiv.com/eikon-apis/eikon-data-api/docs?content=49692&type=documentation_item but I wonder my case is falling into Call limits or Daily limits.

I am willing to be compliant, but without knowing the rule precisely, I cannot respect it. I wish someone to contact with me take care of my case. I have already contacted with Live Chat Support in Eikon Desktop, but they told me to come here and ask.

Best Answer

Answers

  • At the official documentation https://developers.refinitiv.com/eikon-apis/eikon-data-api/docs?content=49692&type=documentation_item , under the section "What happens when a limit is reached?", it says:

    When the limits for datapoints per request are reached, responses are simply truncated and only the available cells/headlines/results are returned - even though your request would have yielded a bigger response.


    So, then, how can this wait time penalty apply? Based on what clause is this sanction imposed?

  • One more question. For daily limit, when is it reset? Is that based on my local time or GST or maybe 24 hours rolling window?


  • Hi @iwasakI

    Daily requests and volume limits are reset at midnight according to the operating system clock on your machine.

  • Hi @iwasakI In the documentation, it says "For example, a news headline query may have yielded more headlines than those returned on the response, or a timeseries call could return a fewer number of years than what was requested." So I believe this is referring to cases when you use get_news_headlines() or get_timeseries().

  • Hi Zoya, thank you for heads up to Alex's suggestion that is quite insightful. The biggest problem I face is that I am not sure what exactly happened behind the scene. Then, according to his comment:

    "The most practical way is to wait a minute and then try sending one isolated request. If it fails with Error code 429, then you hit the daily limit. If it succeeds, then you must have hit the requests per second or volume per minute limit. "

    and clearly in this case, my account is still suspended even now after waiting for a while, which implies that I accidentally hit a daily limit... I have been requesting for official investigation to Refinitiv technical team, so hope to confirm this theory soon.

  • Hi Zoya, thank you for heads up to Alex's suggestion that is quite insightful. The biggest problem I face is that I am not sure what exactly happened behind the scene. Then, according to his comment:

    "The most practical way is to wait a minute and then try sending one isolated request. If it fails with Error code 429, then you hit the daily limit. If it succeeds, then you must have hit the requests per second or volume per minute limit. "

    and clearly in this case, my account is still suspended even now after waiting for a while, which implies that I accidentally hit a daily limit... I have been requesting for official investigation to Refinitiv technical team, so hope to confirm this theory soon.

  • Thank you fora concise answer. I understood it.

  • @iwasakI

    As the document you referenced states, there are 2 daily limits: the limit on the number of requests and the limit on the amount of data (in bytes) that you retrieve. You submitted more than 10K requests in a day, which triggered the requests limit throttle. Daily limits are reset at midnight according to the operating system clock on your machine. I hope this helps.

  • Is there any way i can monitor or know how far along i am in my limits?