I followed the suggested standalone login-script test.
The standalone Python script using Kite Connect SDK 5.2.1 also fails during generate_session().
API key length: 16 API secret length: 32 Request token length: 32 Request token has no whitespace API key and API secret match the active app API secret was regenerated Fresh request token is used immediately
The standalone SDK call returns:
TokenException: Invalid checksum
The direct /session/token request also returns HTTP 403:
Please ensure you are using the correct request token generated after the login/authentication flow and that it contains no trailing spaces or other unintended characters.
An Invalid checksum error generally indicates that the api_key, api_secret, or request_token being used is incorrect or does not correspond to the same authentication session. We have verified the Python SDK and found no issues.
Please try generating the access token using a standalone login script instead of your application. This will help isolate whether the issue is related to the credentials or your application's authentication flow.
We recommend following the login flow as outlined in the Kite Connect API documentation. Additionally, you can refer to this webinar for a detailed walkthrough.
An
Invalid checksumerror generally indicates that the api_key, api_secret, or request_token being used is incorrect or does not correspond to the same authentication session. We have verified the Python SDK and found no issues.Please try generating the access token using a standalone login script instead of your application. This will help isolate whether the issue is related to the credentials or your application's authentication flow.
We recommend following the login flow as outlined in the Kite Connect API documentation. Additionally, you can refer to this webinar for a detailed walkthrough.