Incorrect `api_key` or `access_token`

nayab
https://api.kite.trade/quote/ohlc
{
"status": "error",
"message": "Incorrect `api_key` or `access_token`.",
"data": null,
"error_type": "TokenException"
}
  • nayab
    All the steps look correct to me however I'm getting the following error:
    {
    "status": "error",
    "message": "Incorrect `api_key` or `access_token`.",
    "data": null,
    "error_type": "TokenException"
    }
  • spartacus
    @rakeshr Getting same error today in functional code. Subscription was expiring on 29th. Didn't get auto renewed for some reason, though I have sufficient funds in linked zerodha account. But app page was showing subscription as active.

    I checked that funds were not deducted so I manually renewed. Funds are still not deducted, but now app it shows expiry as 31st December. But while accessing from code, it still shows `Incorrect `api_key` or `access_token``.
  • sujith
    @spartacus,
    We are working on fixing the auto renewal process. I think you haven't manually subscribed for historical data API that is why you might be getting this error.
Sign In or Register to comment.