AnsweredAssumed Answered

ArcGIS Server tokens not working

Question asked by donbrown44 on Dec 12, 2014
Latest reply on Aug 9, 2016 by dharshb1

I'm using ArcGIS Server 10.2.2 on Linux.

When I manually request a token from:


It works fine. When I manually request a token from (through web server):


It doesn't work. I get:


Invalid request

Usage: https://webserver_domain/arcgis/tokens?request=gettoken&username=username&password=password&

Usage: https://webserver_domain/arcgis/tokens/generateToken?username=username&password=password&

Usage: https://webserver_domain/arcgis/tokens/gettoken.html



When I request manually with this URL (note the 'admin'), it works fine (this is through the web server):



So, it seems like through the REST endpoint, the 'post' is getting mangled between the web server and the GIS server?

Then, through the 'admin' endpoint, the 'post' works fine.

Any ideas?


One more question.... Why are there two ways to get a token? Is one method preferable?