To access live market or historical candle data, you need to subscribe to the paid version of Kite Connect. It seems that you are using the Kite Connect personal (free version) app, which does not provide access to market data, historical data, or the Websockets API. To verify, please check the type of app in the developer's console and ensure you are using the correct api_key for the Kite Connect app.
api_keyfor the Kite Connect app.