Error 409 : Too many requests

Abhishek_G
Hi Team,

I have been using your API since many months now, and there has been no change in my code.
However, since yesterday, I have started receiving error 409: Too many requests, whenever my codes run.

I see that error even on my Kite web after few of my orders are punched via code.
And post that, I can't even see charts on kite web for some time.

May I know, what has changed at your end and why is this error started coming?

PS : I know about the API rate limits and I handle that in my code, but API rate limit error was not Error 409.
This error completely blocks the account and one cant even see charts for many minutes after this.

I have raised a ticket as well yesterday, still waiting response on that
Tagged:
  • Abhishek_G
    @sujith : Tagging you as based on other discussions on forum, it looked that you are part of the team, so I would appreciate a response here
  • rakeshr
    rakeshr edited September 25
    However, since yesterday, I have started receiving error 409: Too many requests
    Can you paste here the complete error stack-trace? With the complete URL. Also, DM your/prod IP as well.
  • Harsh1993
    Facing the same thing We have been using the same logic since many months
  • sujith
    @Harsh1993,
    Can you private message the client id, url for which you are getting error and the IP?
  • Abhishek_G
    @rakeshr

    This morning the error came when I was using quote API to get BankNifty Spot price.
    The code handled the exception and after waiting for few seconds, tried again, when it got the price.

    However, at the same time, I saw the error flashing on Kite Web too, which was strange, and after that I wasn't able to open any charts too.

    The error is not persistent and doesn't come every time so I am unable to reproduce it as of now, however, it has been coming since yesterday.

    Few things:
    1. The API call was:
    kite.ohlc(['NSE:NIFTY BANK'])

    2. The output of it was a big text, not a dict as expected (unfortunately I didnt save that output).

    3. 2nd time it came when I was placing orders via API, 4 orders were placed 1 after another, so under rate limit.
    4. This time, orders were placed and no issue was seen in API calls, however, my kite web was open and i saw a message getting flashed "Error 429 : Too many requests"

    5. This is different from rate limit getting hit as in that case, I could wait for 1-2 second and then send the request again.
    6. However, once Error 429, is flashed, I was not able to open any chart on Kite web, and using API too, i was not able to get any quote or anything else for many minutes before it got reset.

    I have DMed you, let me know if you need my zerodha ID or API details
  • sujith
    @Abhishek_G,
    Can you private message the IP? We will check and get back to you.
  • Abhishek_G
    @sujith @rakeshr
    I have Dm-ed you guys, please check and let me know what all details should i provide.

    I got the error on Kite Web even today as soon as my code punched orders via API.
    There was no error in the code, the orders went fine, just that the error came on Kite web and then my charts were stuck.

    The error time was 15:00 and just 2 orders were executed.
    I have the screenshot which i have attached in the ticket I raised, as i cant attach here
  • Abhishek_G
    @sujith @rakeshr

    The delayed response from your side is extremely disappointing.

    I have messaged you guys as well as posting here, but your "don't care" attitude is unbelievable.
    in the last 2 days, not a single guy from your team reached out to understand the issue, get the details and help out.

    Is this how you support customers who are paying for API ?

    No response on DM on what all details you need, no efforts to actually understand the issue at all.

    I raised the ticket on zerodha support portal and Prashant from that team, put the onus on you guys to look into it and here I am just posting comments after comments but all in vain.
  • sujith
    Kite Connect is purely and execution platform. We don't provide one to one support for Kite Connect. There are no support agents here. We are all developers like you who work on our projects and take out some time to help fellow community members. You can post queries here and the community members will help you out when they have time.
  • sujith
    As you can see in the same thread, I have asked for the IP address on 25th of september and you haven't given that. How can someone help you out if there is no data for investigation.
  • Abhishek_G
    Abhishek_G edited September 27
    @sujith : Thanks for your response.

    But surprising to know that Zerodha who charges 2000 Rs for API has no support team for it. Who should the client reach out in case of issues ?

    Now, I had also raised a support ticket, because mainly the error was on Kite Web, the support team (Prashanth) told me that it could be because of API, and said only API team can help and asked issue to be raised here.

    Also, I had pinged you and @rakeshr twice just to know exactly what all do you need, had a received a response that only IP address was needed, I could have given that in 2 in, but I got a response from you just today.

    I have Dm-ed you my IP address, let me know if you need anything else.

    Last issue was faced yesterday around 3 PM when 2 orders were placed one after another.
    No issue on order execution, but error 429 seen on Kite web and after that charts were not loading.
    No manual orders were executed yesterday.
  • sujith
    We have got the reply with a local IP. What do you want us to do with it?
  • Abhishek_G
    @sujith I have given you my machine's IP on which the code as well as Kite web runs.
    Isn't this what you asked ?
  • Abhishek_G
    My simple question is why am I getting the error and what can be done to resolve it
  • Jigpylab
    @sujith and @Abhishek_G. I am also getting "Too many requests" with kite quote API after 25th sept, approximatly 1 hr after running the code live daily. This code was running fine since more than 1 year but suddenly started throwing error. something has been changed from zerodha side. it would be useful if they clarify what changes are made by zerodha on rate limit. Is there any daily limit or IP based limit applied on quote API ?
  • rakeshr
    I am also getting "Too many requests" with kite quote API after 25th sept, approximatly 1 hr after running the code live daily
    There has been no change in the APIs. Can you provide your IP? We will debug on this.
  • Abhishek_G
    @rakeshr @sujith
    I had provided my IP, but I am still waiting for your response.

    Now, other users have also complained about the issues happening around same date.
    I would appreciate if you could let us know the reason of this error based on my IP
  • Jigpylab
    @rakeshr @sujith can you please help me know is there any "day limit" based on IP adress. we are facing issue 'too many request' only when number of account exceed 5, with 1 or 2 IDs there is no problem.
Sign In or Register to comment.