Insufficient permission for that call error

vikastri
Hi,

I am getting "Insufficient permission for that call" as below when I try to get historical data

{"status":"error","message":"Insufficient permission for that call.","data":null,"error_type":"PermissionException"}

when I try to execute your standard Curl script:

curl "https://api.kite.trade/instruments/historical/5633/minute?from=2015-12-28+09:30:00&to=2016-01-01+10:30:00" -H "X-Kite-Version: 3" -H "Authorization: token wlq46jbsmhcyqq3f:86tGRAYrt3lP4ldffDfusryAUV7wfpsg"

Please help, I am subscribed to the Historical API.

Regards,
Vikas
Tagged:
  • sujith
    You need to re-generate access token to use historical data after subscribing for the same.
  • rakeshr
    @vikastri
    Can you recreate access token post subscription and then check the same?
  • arun_hivebox
    Hi team,
    I am also getting same error we already subscribed for api.
  • rvijaii019
    Hello Team,

    Same error(PermissionException) throws for me. Using nodejs it throws this error
    @sujith regenerated access token also not works.
  • sujith
    You need a valid Kite Connect subscription to make the API requests.
    You can check out FAQs here.
  • balajee
    Hi Sujith, we are also facing same issue.
  • akkaash
    akkaash edited May 29
    Hello @sujith I am facing the same issue as described above. I have create a Kite Connect app with 2000 credit but I'm facing the same "kiteconnect.exceptions.PermissionException: Insufficient permission for that call." with the Python client.

    Never mind. I found the issue. Chrome was not rendering the subscribe button for the Historical API. Switched to Safari and it worked. That's probably a bug someone at Kite needs to fix. Seeing similar screenshots elsewhere on the Forum like here: https://kite.trade/forum/discussion/comment/22581/#Comment_22581
This discussion has been closed.