Can you share the complete debug logs for this? Our team is not able to reproduce this error. We need the complete request and response details to resolve the issue.
return func(*args, **kwargs) File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 621, in historical_data data = self._get("market.historical", File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 836, in _get return self._request(route, "GET", url_args=url_args, params=params, is_json=is_json) File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 912, in _request raise exp(data["message"], code=r.status_code) kiteconnect.exceptions.InputException: interval exceeds max limit: 35 days
File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 621, in historical_data
data = self._get("market.historical",
File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 836, in _get
return self._request(route, "GET", url_args=url_args, params=params, is_json=is_json)
File "/home/a/.local/lib/python3.8/site-packages/kiteconnect/connect.py", line 912, in _request
raise exp(data["message"], code=r.status_code)
kiteconnect.exceptions.InputException: interval exceeds max limit: 35 days
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /instruments/historical/64225799/minute?from=2023-08-22+00%3A00%3A00&to=2023-10-19+20%3A42%3A13&interval=minute&continuous=0&oi=1 HTTP/1.1" 400 108
DEBUG:kiteconnect.connect:Response: 400 b'{"status":"error","message":"interval exceeds max limit: 35 days","data":null,"error_type":"InputException"}'
Fatal exception interval exceeds max limit: 35 days