Was working fine till Friday. No change from my side.. but there might have been some changes from zerodha. 1. Opened Web view with url : https://kite.trade/connect/login?v=3&api_key= 2 Provided credentials..and answer to the questions 3. Got the location : / request_token=qhGDMdpltLz8qwF8bylgUD42y5fqyFyi&action=login&status=success 4. Extracted request_token, and Hashed api_key + request_token + api_secret and created Check sum 5. Posted https://api.kite.trade/session/token?api_key="+api_key+"&request_token="+request_token+"&checksum="+checksum 6. Got the response : {"status":"error","message":"Missing or invalid field `api_key`. Min length is 6.","data":null,"error_type":"InputException"} Where am I missing?
You can check out the documentation here.
1. Opened Web view with url : https://kite.trade/connect/login?v=3&api_key=
2 Provided credentials..and answer to the questions
3. Got the location : / request_token=qhGDMdpltLz8qwF8bylgUD42y5fqyFyi&action=login&status=success
4. Extracted request_token, and Hashed api_key + request_token + api_secret and created Check sum
5. Posted https://api.kite.trade/session/token?api_key="+api_key+"&request_token="+request_token+"&checksum="+checksum
6. Got the response : {"status":"error","message":"Missing or invalid field `api_key`. Min length is 6.","data":null,"error_type":"InputException"}
Where am I missing?
Send the api_key, request_token and checksum as post parameter instead of url append.
Login successful ;-)
All the HTTP calls are authenticated based on the header auth keys from Kite Connect 3.