We can get token with https://www.arcgis.com/sharing/generateToken by POST method and following format of parameters: f=json&username=USERNAME&password=PASSWORD&client=requestip
But when use that token to query a hosted Survey123 result feature service on https://services3.arcgis.com, got following error: {"error":{"code":498,"message":"Invalid token.","details":["Invalid token."]}}
Any idea?