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 July 8
    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.
  • VikramT
    VikramT edited 4:49AM
    Thank you for your prompt response.
    API is key is active.
    My app type was personal.
    I created a new one of type KiteConnect.
    Thank you for the correct guidance.
  • Sravanthi_bh
    Using a Personal app may not allow you to live quotes. You’ll need to create a separate app with the type Connect

Sign In or Register to comment.