AnsweredAssumed Answered

Accessing Stand-Alone ArcGIS Server broken at 1.8.2

Question asked by dchuber@blm.gov_BLM_EGIS on Jul 29, 2020
Latest reply on Jul 29, 2020 by bixb0012

Using version 1.7.0 of the API, this code snippet works fine:

from arcgis.gis import server

user = '<admin user>'

pswd = '<password>'

server_base_url = "https://<server>/<webadaptor>"

gis_server = server.Server(url=f"{server_base_url}/admin",


service = gis_server.content.get('<Service Name>', folder='<Service Folder>')


{'configuredState': 'STARTED', 'realTimeState': 'STARTED'}


However, in 1.8.2 the service status returns:

{'status': 'error', 'messages': ["Unauthorized access. Token not found. You can generate a token using the 'generateToken' operation."], 'code': 499}