fyersClass.GetStockHistory call returns {"error_message":"Could not authenticate the user","success":false,"status":-16}

I am trying to fetch data from fyers api. First I called fyersClass.GenerateCode(redirectURI). I received auth_code. Then I passed that code & my hashed appId:appSecret. I received access_token. Then I used same access_token to call fyersClass.GetStockHistory(model). But then I keep getting error -

Stock History Error: {“error_message”:“Could not authenticate the user”,“success”:false,“status”:-16}

What wrong I am doing?

I found the solution

Thanks for the update, @TUyVduh0oR. Happy Trading!