Error: Getting access token from postman

somashekar163
I am trying to get access token from postman by hitting https://api.kite.trade/session/token

If I don't pass any parameter getting the following error

{
"status": "error",
"message": "`api_key` should be minimum 6 characters in length.",
"data": null,
"error_type": "InputException"
}

If I pass query parameter
api_key, request_token and checksum getting the same error.

How to identify where we are doing the mistake?

Api key provided from them and when we pass that in api_key getting `api_key` should be minimum 6 characters in length. not able to identify where i am doing mistake.

Could some one record hitting the session/token endpoint from postman and share?

Thanks in advance
  • rakeshr
    Make sure, you are making a Form POST request to session/token instead of default JSON POST and send all body param(-d) as the form body. You can check the curl request for the same here. You can know more about request structure here.
Sign In or Register to comment.