After authentication successful, I am using historical() function but it gives
Fatal error: Uncaught TokenException (403) ‘Invalid API credentials’ issue.
$kite->historical("", “2017-09-25”, “2017-09-25”, “day”);
After authentication successful, I am using historical() function but it gives
Fatal error: Uncaught TokenException (403) ‘Invalid API credentials’ issue.
$kite->historical("", “2017-09-25”, “2017-09-25”, “day”);
403 token exception indicates the expiry or invalidation of an authenticated session. This can be caused by the user logging out, a natural expiry, or the user logging into another Kite instance. When you encounter this error, you should clear the user’s session and re-initiate a login.