I generate a token using generateToken. I can retrieve the private feature layers with the token. However, I always get error response when I try to retrieve the portal/online items:
{"error":{"code":498,"message":"Invalid token.","details":[]}}
Hi Yue,
In what context are you doing this operation with Survey123? I would need some more information on the workflow and where the token originates.