paramatrixtech / ksapi

Kotak Securities Trading APIs Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid One time Token ERROR

Kart69 opened this issue · comments

ks_api_client.exceptions.ApiException: (401)
Reason: Unauthorized
HTTP response body: {"fault":{"code":50001,"description":"Onetimetoken is either expired or not correct","message":"Invalid OneTimeToken"}}

this is what i'm getting
Please Help.

Token no. expires every day, You had to login to app/platform everyday to generate new access code that you receive via SMS and mail. Update the same access code. in code as well.