Unable to get the access token using fyers_apiv2

As I am following the API doc of fyers, all the code is successful but I am unable to generate the access token after the code given below

session.set_token(auth_code)

response = session.generate_token()

access_token = response["access_token"]

 

8 replies