Route not found exception

sumit.ssr207
I am trying following
I got the request token. Now to get the access_token I am trying following:

curl https://api.kite.trade/session/token
-d "api_key=xxxxxxxxxxxxxxxxxxxx"
-d "request_token=yyyyyyyyyyyyyyyyyyyyyyyy"
-d "checksum=dzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"

However I am getting route not found as response.

{"status": "error", "message": "Route not found", "error_type": "GeneralException"}
  • sumit.ssr207
    calculating as SHA-256 hash of ("xxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyssssssssssssss");

    where ssssssssssssss is secret key. Not getting what is going wrong.
  • Kailash
    I think the issue is with your curl REQUEST. It may be skipping the parameters bit and sending a GET request instead of POST. Suffix each line with a \ as shown in the documentation please.
  • jaydeepmore
    Hi @Kailash I am getting below error when fetching for request token,
    can you help to resolve it
  • sujith
    It seems like you are using a deprecated URL. You can check out the documentation for correct URL.
Sign In or Register to comment.