PermissionException: Insufficient permission for that call when fetching historical data

Hi, I have the following code for fetching historical data:
interval = 'minute'
instrument_token = 260105
start_time =, minute=15, second=0, microsecond=0)
end_time =, minute=45, second=0, microsecond=0)
data = kite.historical_data(instrument_token, start_time, end_time, interval)
However, when I execute this, I get the error:

kiteconnect.exceptions.PermissionException: Insufficient permission for that call.

I think Historical data is enabled for the app that I am working on. How do I get this enabled?

Sign In or Register to comment.