Enable to fetch historical data.

pravand
While fetching day historical data via Go Client or HTTP request, getting error "TokenException" with message "Incorrect `api_key` or `access_token`."
  • nagavenij
    Your access token may have expired. Please generate a new access token to continue. You can refer to this similar discussion here.
  • salim_chisty
    It seems the issue might be due to an invalid api_key or access_token. Additionally, you may be using the incorrect request token to obtain the access token. We recommend following the login flow as outlined in the Kite Connect API documentation. You can refer to this webinar for a detailed walkthrough. You may refer to the similar discussion here.
  • pravand
    pravand edited 4:54AM
    @salim_chisty @nagavenij
    I'm using GoClient and I was able to fetch all instruments using function GetInstrumentsByExchange().

    After getting exception with GoClient, I tried to get data via HTTP request just to check and I was getting the same error. If require I can share screenshot as well.
Sign In or Register to comment.