AnsweredAssumed Answered

AGS admin scripting help

Question asked by jamesfreddyc on Jul 28, 2016
Latest reply on Aug 17, 2016 by patel1684

I'm trying to build some simple service checks (map, feature and gp services) that are published on our ArcGIS Server site(s). Example: Check a folder for stopped services—Documentation (10.3 and 10.3.1) | ArcGIS for Server is what I'm attempting to implement but having difficulty with the request at fetching the token.


I've been provided with the serverName and serverPort parameters (lines 22 and 23 of the sample code) by our AGS admin but I keep tripping the error at line 137.  If I print the response.status it shows a response of 302 and response.reason is "Found".


Any input or success implementing this script?