kiteconnect.exceptions.NetworkException: Request failed (kt-quotes).

SRU737
Hi All

First 3 hrs of market today, my scripts was constantly failing with below error. It stopped automatically!

What is the reason and how to avoid such issues in future?


lp = kite.ltp([nse_symbol], ['last_price'])
File "/home/ec2-user/.local/lib/python3.9/site-packages/kiteconnect/connect.py", line 611, in ltp
return self._get("market.quote.ltp", params={"i": ins})
File "/home/ec2-user/.local/lib/python3.9/site-packages/kiteconnect/connect.py", line 861, in _get
return self._request(route, "GET", url_args=url_args, params=params, is_json=is_json)
File "/home/ec2-user/.local/lib/python3.9/site-packages/kiteconnect/connect.py", line 937, in _request
raise exp(data["message"], code=r.status_code)
kiteconnect.exceptions.NetworkException: Request failed (kt-quotes).
  • Hardik_Varma
    Hi, I also faced similar issue yesterday as well as today (6 Dec 2024). Did you face this today as well? Were you able to resolve this?
Sign In or Register to comment.