Facing the issue {'s': 'error', 'code': 500, 'message': 'Looks like you are passing an invalid entry'} after getting the access_token and passing it in the FyersModel.
appSession.set_token(auth_code)
response = appSession.generate_token()
access_token = response["access_token"]
print(access_token)
fyers = fyersModel.FyersModel(is_async=False, client_id=fyers_id, token=access_token,log_path="C:/Users/user1/Desktop")
is_async = True
print(fyers.get_profile())