Authentication failed: That API call is not allowed for the authenticated user Fatal error: Uncaught PermissionException (403) 'That API call is not allowed for the authenticated user' thrown in C:\xampp\htdocs\amibroker\kiteconnect.php on line 668
I am using Connect and zerodha id is RV0352
<?php include dirname(__FILE__)."/kiteconnect.php";
// Initialise. $kite = new KiteConnect("0j24vgstal8somp5");
// Assuming you have obtained the `request_token` // after the auth flow redirect by redirecting the // user to $kite->login_url() try { $user = $kite->requestAccessToken("5i6brgqbi4tskw5hvwa40t7bnjn44w0h", "xxxxxxxxxx");
@vini.jegan You shared your api_secret in the above message. I've edited it out. Never share your API secret. I've also regenerated the secret, so please copy the new one from the developer console and try again. It should work this time.