Missing or invalid field request token

saivinaymohan
After upgradtion to kite conect 3.0.
While Generating access token i am getting this error.
{"status":"error","message":"Missing or invalid field `request_token`. Min length is 10.","data":null,"error_type":"InputException"}
Request Structure:
Post : https://api.kite.trade/session/token
Headers
X-Kite-Version: 3
Body Parameters:
{"api_key":"XXXXXXXXXXXXXXXXXXX","checksum":"XXXXXXXXXXXX","request_token":"XXXXXXXXXXXX"}
Response :
{"status":"error","message":"Missing or invalid field `request_token`. Min length is 10.","data":null,"error_type":"InputException"}


  • sujith
    Are you using new login URL as mentioned in the documentation?
  • sujith
    A request token is valid for only a couple of minutes and can be used only once. Once you get access token, you need to store it and re-use it for subsequent runs.
  • saivinaymohan
    I am doing in the same way.
    I am not facing any problem with Older Version.
    This issue was coming in new version only( version 3).
  • sujith
    @saivinaymohan,
    Is this consistent or intermittent issue? We generate access token on Kite Connect 3 every day but haven't come across this. Can you elaborate steps to reproduce?
Sign In or Register to comment.