Invalid API Credentials for Historical data even after subscription

mapreduce
mapreduce edited August 2017 in Python client
Hi,

I am getting Invalid API credential exception when I try to use the historical data API:

kite.historical(instrument_token='22345', from_date='2017-08-01', to_date='2017-08-10', interval='60minute')


I have subscribed to the Historical API for the app.
I have also tried other API calls just to confirm if my tokens are valid, other API calls are working without credential issues.
Tagged:
  • mapreduce
    Can a kite connect developer/support comment on this?
  • atulsingh7890
    @mapreduce Have you subscribed for the Kite Connect API usage along with Historical API,
    It happened in my case as with 2000 credits you only get the access to call the APIs but for calling the Historical API you have to spend extra 2000 credits.

    This happened in my case until I logged in to the KiteConnect and seen my preferences for APP.

    If you have already Activated Historical API, then you have to wait for the guys who are working on this API to reply.
    Good Luck.
  • sujith
    Hi @mapreduce,
    Your subscription seems to be fine. Did you re-login after subscribing for Historical API?
Sign In or Register to comment.