Token issues

bkantikiran
When trying to generate a token using below API, I am receiving the below error

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

Used the below details
https://api.kite.trade/session/token?api_key=$api_key&request_token=$request_token&checksum=$checksum

$checksum = sha256(api_key, request_token, api_secret)

used the below sha256 implementation
https://xorbin.com/tools/sha256-hash-calculator
This discussion has been closed.