Invalid token for portal/online items

153
1
03-09-2020 03:07 PM
YueZhou1
New Contributor

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":[]}}

 

0 Kudos
1 Reply
JamesTedrick
Esri Esteemed Contributor

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.

0 Kudos