Getting "Invalid token error" in historical data
-
historicParam={
"exchange": "NSE",
"symboltoken": 1594,
"interval": 'ONE_DAY',
"fromdate": '2020-11-01',
"todate": '2021-12-06'
}
candel_json = obj.getCandleData(historicParam)candel_json
{'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''} -
@tejaspinge @admin
My god, password expiry issue is still there, literally wasted 2 days. Finally resolved after changing it. Was getting same error earlier. -
@admin Session was not getting generated due to password expiry. I have changed the password and it's working fine now. Thanks for the help. I wonder why I didn't get password expiry warning while logging in from web.
-
Hi @tejaspinge are you able to generate session first.