Insufficient permission for that call - for Historical API

dhan1978
I have subscribed for Historical API after paying amount, but still, i am getting this error, Insufficient permission for that call.


You can check this attached image to know that, i have subscribed for it.

  • sujith
    You need to create a new session after subscription.
  • dhan1978
    sujith,

    thanks. i have got the request token and the i set the access token, all are working fine.
    i.e all other apis are working fine.

    print(f"Access Token is:{access_token}")
    result = kite.set_access_token(access_token)
    print(result)
    user_profile = kite.profile()
    print(user_profile)
    the user profile is getting printed, even after that i get that error.
  • dhan1978
    thank you, its working.
    i deleted the existing session and created a new one.
This discussion has been closed.