Access_Token for Fyers apiv2

Hii,

I got the auth_code and when i am trying to generate the access token to complete the login flow, I am getting the following error. I have looked it in the error list but i couldn’t find it. Help me with the mentioned error for login using python.

Error :

{‘s’: ‘error’, ‘code’: -17, ‘message’: ‘Could not authenticate the user’}

You might be running auth code twice so there will be error, i was also getting same error, now it is working fine.

Nope I am running the authcode only once. Even now I tried it is showing the same error. To check it I tried IDLE only to reconfirm I am not generating the auth_code twice.

once auth code is run token has to be generated within 5 mins only. check “data for traders” youtube channel you will get solution.