I receive too many requests error from kite.GetQuote function.

divakar620
1. I triggered kite.GetQuote function once per second, still getting this error. is there any individual no of call limitations per each function call?

Error below
KiteConnect.NetworkException: 'Too many requests'

2) and also, i am having issue with getting request token, per each 5 mins should i open browser to get request token? i tried to get it thru program but response url receive with sess_id not token id.

program returns like this : https://kite.zerodha.com/connect/login?sess_id=YYYYYYYYYYYYYY&api_key=XXXXXXXXXXXX
But thru browser received like this : https://kite.trade/?status=success&request_token=YYYYYYYYYYYYYYYYYYYYYY

please help me out
  • tonystark
    1. Try enabling the debug mode and see if you are making more requests.

    2. The access token you get after the first login is valid for the entire day. That means you don't have to login again for that day. Also, you have to use your browser to login with the link you get from the GetLoginURL function. Automating this process is not recommended.
  • sujith
    @divakar620,
    All the Kite Connect HTTP calls are limited to three per second. If you cross that limit you might get the exception with a message 'Too many requests' and the status code will be 429.
Sign In or Register to comment.