I have been working on integrating the Kite Connect API with my Java application, and I have run into an issue with the authentication process. After successfully logging in, my callback URL receives a request token, but the token seems to be null.
Furthermore, when I use the null request token to generate a session, I get the following error message:
{ "status": "error", "message": "The user is not enabled for the app.", "data": null, "error_type": "InputException" }
I have triple-checked my code to make sure the API key, API secret, and the redirect URL are set correctly. I am using the Kite Connect Java SDK, and my code is based on the examples provided in the documentation.
Has anyone encountered a similar issue or can provide any guidance on how to resolve this? Any help would be greatly appreciated. Thank you in advance!