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 June 26
    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
  • VikramT
    VikramT edited 6:41AM
    Just now I have subscribed by paying ₹500/- but I'm getting Insufficient permission as I try to access real time data.
    kiteconnect.exceptions.PermissionException: Insufficient permission for that call
    Will it take a day's time at your end to give me an access to LTP based data?
  • Sravanthi_bh
    Log in to your Kite Connect dashboard
    Check if your app type is Kite Connect and not the Personal
    Ensure the API key is active and not canceled/deleted.
    If the issue persists, please private message your API key so we can investigate further.
Sign In or Register to comment.