Kite API personal throwing error 429 intermittently despite sending only one API request in 5 min

govindtv93
time stamp: 2025-04-07 11:00:21

429 - "{\n \"status\": \"error\",\n \"message\": \"Too many requests\",\n \"error_type\": \"NetworkException\",\n \"src\": \"cf\"\n}"

Request ID: 5ickf65m96muh27
Sub Request ID: 5ickf65m96muh2y

I have observed this error few times in the past few days which is causing the order to fail and further causing losses. Please provide the fix and the RCA
any system should not throw "rate limit has been exceeded" for sending one API request in 5 mins.
  • sujith
    You seem to be exceeding the rate limits. You can know more about the rate limits from the FAQs.
  • govindtv93
    Hi Sujith,

    I am not sending more than 1 API request in 5 mins and the rate is not exceeded. Please check the support ticket #20250407831349 – The Kite API personal is throwing error 429 intermittently it has all the details and the logs.

    Has occurred 3 times yesterday 11 Jun 2025 Wednesday and has resulted in order failure. Kindly check and increase the API servers capacity. Kindly do not redirect me to some developer forum this is an issue in the Kite server

    Time Stamp:
    2025-06-11 09:40:26
    2025-06-11 09:55:25
    2025-06-11 10:50:23

  • sujith
    We haven't observed any issues at our end. Kite Connect APIs are being used by tens of thousands of production apps. We haven't got any complaints from users. We suggest inspecting code at your end. Maybe enable debug logs and check all the outgoing and incoming data logs with timestamp.
  • govindtv93
    Hi Sujith,

    Additional Details:
    We are using two API keys for two separate Kite accounts.
    For both keys, we are consistently receiving the error: 429 – Too Many Requests.
    However, we are only sending one request every 5 minutes per API key.
    As per our internal checks and logs:
    No more than 2 requests per API key are being made within any 5-minute window.
    All requests are being logged, and we have thoroughly verified them multiple times.
    We have already shared a screenshot of these logs in our previous message for your reference.

    Impact:
    This issue is critical as it is causing order failures, even when all conditions are correctly met on our side.
    These failures are leading to missed order placements and causing financial loss.

    Request and Next Steps:
    Kindly check your internal logs from the Kite side and help us identify the root cause.
    We request this to be prioritised due to the financial impact on our trading operations.
    Did you had a chance to check the support ticket #20250407831349

    Please keep us posted with any updates or corrective actions from your side.

    We appreciate your support and look forward to resolving this at the earliest.
  • sujith
    Can you private message the api_key of both the apps where you are getting 429?
    The logs shared above are irrelevant for us. You need to share something that looks like how request and response are mentioned in the documentation. You can refer to the documentation here.
    You need to mention what Kite Connect client library you are using and version of the same library.
    You need to mention which endpoint is throwing error. Just saying we are once sending every 5 minute will not help anyone who is willing to sort out your issue. We will need more information to act upon.
  • govindtv93
    govindtv93 edited June 14
    Hi Sujith,

    I have sent DM of the API keys and the API we are using is Placing order API https://kite.trade/docs/connect/v3/orders/#placing-orders
Sign In or Register to comment.