zerodha / pykiteconnect

The official Python client library for the Kite Connect trading APIs
MIT License
983 stars 470 forks source link

Wrong behaviour of session hook invoke #21

Closed ajinasokan closed 6 years ago

ajinasokan commented 6 years ago

Session hook invokes even for invalid API key errors. It should invoke only for Token Exceptions. Ignore other 403 responses.