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

fyers = fyersModel.FyersModel(token=access_token, is_async=False, client_id=client_id, log_path=“”)

access_token, client_id is correct, any reason?

Hi Gaurav,

As per the error message, your access token could be invalid. Please generate the access token or ensure, correct access token is being passed.

Passing the correct access token, issue is not related to access token likely

Looks like auth code and token are different. I am able to initialize now.. Thanks!

Thanks for the update, @gganeriwal-d0z.