ERROR

ArcGIS Pro: 002901_Sharing related error during geo-processing (Unable to check if service exists

First Published: March 15, 2023
Last Published: April 24, 2026

Error Message

Attempts to upload a service definition file from ArcGIS Pro to ArcGIS Enterprise or ArcGIS Online using the Upload Service Definition tool fail with the following error message returned:

Error:
002901: Sharing related error during geo-processing (Unable to check if service exists.
The error message returned when attempting to upload a service definition

The error message is also returned when running the arcpy.server.UploadServiceDefinition or MapImageSharingDraft function in ArcPy.

Cause

  • An incorrect federated server URL is specified in the Server parameter of the Upload Service Definition geoprocessing pane. In the ArcPy functions, an incorrect federated server URL is specified in the federated_server_url variable.
  • An incorrect portal URL, username, or password is specified using the arcpy.SignInToPortal() function to sign in to the portal.

Solution or Workaround

Specify the correct federated server URL when sharing a service definition

The correct URL for the federated server can be found in the ArcGIS Enterprise portal by navigating to Organization > Settings > Servers under Administration URL. The URL format is as follows:

https://webadaptorhost.domain.com/webadaptorname/manager

Specify the correct SignInToPortal() portal URL, username and password

For ArcPy functions, the portal URL, username and password must be entered as follows:

arcpy.SignInToPortal("https://www.portal.domain.com/webadaptor", "MyUserName", "MyPassword", verify_cert=False)
Note:
The verify_cert parameter is inserted to bypass verification if a self-signed certificate is used. The parameter can be removed accordingly.

To reset login credentials for an account with a token generated or for the primary site administrator, refer to Portal for ArcGIS: Recovering the portal when no administrator accounts are available or Portal for ArcGIS: Reset password for instructions.

Article ID: 000029487

Software:
  • ArcGIS Pro
  • Portal for ArcGIS
  • 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