I'm using www.arcgis.com/sharing/generatetoken to obtain access tokens for query. Some of my services work, but others failed with "498, Invalid Token". The failed services are, by-and-large, backing store for Survey123.
I tried both generateToken, and generateToken (with serverURL.)
- I'm using ArcGIS Identity (username/password) to generate tokens.
- I do not own the Survey123; they are shared with me.
- Do I really need server token on ArcGIS Online? My service is
- https://services.arcgis.com/04H.../arcgis/rest/services/service_...e736/FeatureServer/
- what is the proper sequence of calls
- any code snippets / examples would be appreciated
Thanks in advance.
PS. I'm able to access using OAuth token. So not completely dead in the water. But do want to know restrictions/limitations vis-a-vis generateToken.