Invalid API credentials

apurvtwr
apurvtwr edited February 2017 in API clients
@sujith
I am fetching historical data from zerodha using pykiteconnect API :
kite.historical(738561, "2017-01-01", "2017-01-29", "minute")

It throws "Invalid API credentials" ! I thought this my API credentials would have expired. But in the same session when I run kite.orders() , it gives me today's executed orders.

What seems to be the problem ?
This discussion has been closed.