Insufficient permission for that call when working with kite connect app

ndhawan
I have registered a kite connect app and using the correct Key and access code. but I am getting the following error

Exception has occurred: PermissionException
Insufficient permission for that call.
File "/Volumes/T7/Code Repositories/NTBasedPlatform/utils/get_FuturesData_Kite.py", line 19, in
instrument_token = kite.ltp("NSE:NIFTY")[f"NSE:NIFTY"]["instrument_token"]
~~~~~~~~^^^^^^^^^^^^^
kiteconnect.exceptions.PermissionException: Insufficient permission for that call.
and also when I try. to hardcode the instrument data no calling
kite.historical_data
the same - Insufficient permission for that call.
  • nagavenij
    nagavenij edited 3:05AM
    With the Kite Connect Personal app, it's not possible to access real-time or historical market data.

    If you have created multiple apps, please ensure that you're using the API key and access token for the Connect app (paid version), rather than the Personal app (free version). This issue typically arises when the credentials from the Personal app are used instead, or your Kite Connect subscription has expired.
    You may refer to the similar discussion here.

    You may also refer to the this thread for more information
Sign In or Register to comment.