Unable to Exchange Request Token for Access Token – “checksum should be minimum 10 characters in len

Sajal
I am using cursor AI to build an interface to connect with kite api. I am facing a persistent issue while integrating with the Kite Connect API. After following the OAuth login flow and receiving a valid request_token, I am unable to exchange it for an access token. The API consistently returns the following error:
{
"status": "error",
"message": "`checksum` should be minimum 10 characters in length.",
"data": null,
"error_type": "InputException"
}
Here are the details of my implementation and troubleshooting steps:
Request Method: POST to https://api.kite.trade/session/token
Content-Type: application/x-www-form-urlencoded
How I tested:
I have tried both my application code and a direct curl command (see below).
I have regenerated my API secret and used the new value.
I have ensured there are no extra spaces or invisible characters in the API secret.
I have confirmed the API key and secret are from the same app in the developer console.
I have started a fresh login flow each time to get a new request token.
curl -X POST https://api.kite.trade/session/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "api_key=[YOUR_API_KEY]&request_token=[FRESH_REQUEST_TOKEN]&api_secret=[YOUR_API_SECRET]"
Despite all of the above, I continue to receive the same checksum error.
Could you please help me identify what might be wrong with my app or account or if there is an issue on the Kite API side?
If you need any more details, I am happy to provide them.
Thank you for your assistance.
Tagged:
Sign In or Register to comment.