Hi All,
When i try to get arcgis portal users with below rest url in the code level. Im getting below error
"{"error": { "code": 498, "message": "Invalid token.", "details": [] }}"
But when i try to access the same url in the browser im getting response.
Could you please help me on this.
Thanks.
Solved! Go to Solution.
Not sure about why you are receiving this error, but I looked up the error code and I got this thread:
Not sure about why you are receiving this error, but I looked up the error code and I got this thread:
Hi Naveen,
I had the similar issue as yours and i managed to resolve it by using the pulldata("@javascript", "functions.js", "ReplaceWithYourFunctionName", pulldata("@property", 'token'), ${u_name}) in the XLS form which runs the JS function with the supplied token and username arguments. If you are using another method to extract and supply these parameters to your JS function, it would not work and hence throw the above invalid token error.
I hope that helps if you are still looking for a solution.