I get an error response when calling the historical data endpoint using kiteconnect java sdk. { "status" : "error", "message" : "invalid token", "data" : null, "error_type" : "InputException" }
My API key (y8bi175tayewxerk) is active and seemingly works for other endpoints. The app is of connect type as well. Can someone please help me get this resolved? Thank you.
The instrument token appears to be incorrect. You can retrieve the correct instrument details by using the getInstruments() function, which provides a CSV dump of all available instruments. For more information, you can refer to the Kite Connect documentation.
For more information, you can refer to the Kite Connect documentation.