Historical API is throwing Kite exception even after the subscription of both base and historic

VidhyaChandrasekaran
Hi,
I subscribed for historical API the day before yesterday and am still getting errors with historical API even with the default method with static values provided in Kite V3 docs.
However, the historical API subscription shows active in the developer profile.
Please do the needful.
Thanks,
Vidhya
  • VidhyaChandrasekaran
    found the problem.
    1. The instrument token present in the sample code given in the Kite V3 doc is no longer a valid token.
    2. When I tried with the valid token, I passed the interval as "day" but parsed continuous param as 'true' which throws an 'Invalid Segment' error that gives me no clue in the first place. so I changed the continuous flag as a trial and error approach and found that was the problem.

    Case closed.
This discussion has been closed.