Error: Been getting 0000-01-01 as authorized dates in holdings and trades.

krisys edited May 7 in Python client
This has been happening from the past week or so. Discarded it as a transient thing initially, but looks like it is persisting. So thought of reporting the same. Any pointers will be helpful.

File "/usr/local/lib/python3.11/dist-packages/kiteconnect/", line 433, in trades
return self._format_response(self._get("trades"))
File "/usr/local/lib/python3.11/dist-packages/kiteconnect/", line 409, in _format_response
item[field] = dateutil.parser.parse(item[field])
File "/usr/local/lib/python3.11/dist-packages/dateutil/parser/", line 1374, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/usr/local/lib/python3.11/dist-packages/dateutil/parser/", line 657, in parse
six.raise_from(ParserError(e.args[0] + ": %s", timestr), e)
File "", line 3, in raise_from
dateutil.parser._parser.ParserError: year 0 is out of range: 0000-01-01 11:07:45
Sign In or Register to comment.