ERROR

Error: POST:/arcgis//auth/token

Last Published: October 15, 2025

Error Message

Attempts to register an ArcGIS Server component with ArcGIS Monitor using ArcGIS Monitor Agent fail when running the registration script. The following error message is returned:

Error:   
Error: POST:/arcgis//auth/token

Cause

The error occurs if the server URL is configured incorrectly in the registration script for ArcGIS Monitor Agent. For example, in the case below, an additional slash (/) is added after arcgis in the URL, which is invalid.

https://monitorserver.domain.com:30443/arcgis/

The default URL configuration is:

https://monitorserver.domain.com:30443/arcgis

Solution or Workaround

To resolve the issue, edit the registration script used for ArcGIS Monitor Agent to remove the trailing slash (/) in the server URL.

Use the following command format to register an ArcGIS Server component with ArcGIS Monitor Agent:

<Monitor Agent installation location>\arcgis-monitor-agent.exe admin:system:register --server-url https://monitorserver.domain.com:30443/arcgis --username  --password 
Note:
Port 30443 is the default HTTPS port for ArcGIS Monitor Server.

Refer to ArcGIS Monitor: Register Windows hosts for monitoring for more information on this.

Article ID: 000038271

Software:
  • ArcGIS Monitor Server
  • ArcGIS Server

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options