tried it with your official python lib as well, the error is same i.e kiteconnect.exceptions.TokenException: Token is invalid or has expired.
this is the debug log:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443…
I am generating sha 256 in ruby and sending post using curl as per the doc and getting the following error:
{"status":"error","message":"Token is invalid or has expired.","data":null,"error_type":"TokenException"}
I am using following command to g…
ok, thank you so much. One last question, once I get the access token, will it expire or I can use the same one daily. The reason why I am asking this because I just want to run the API script daily and if it will expire automatically, I will have …
ok, do I need to go through the login flow even when I just want to use the quote and historic API for my script? I don't have any requirements related to order or any other API?
no I just took the api key and api secret from https://developers.kite.trade/apps/ and passing header as
" -H 'Authorization: token api_key:api_secret
I cannot find anywhere in the documentation to generate API token separately?