ERROR
Attempting to execute the print service (default or custom) in Map Viewer, or any other web application in ArcGIS Enterprise, fails. The following error is returned in ArcGIS Server Manager logs:
Error: Unable to complete operation. Error executing tool. Export Web Map : ConvertWebMapToArcGISProject() takes from 1 to 4 positional arguments but 5 were.
This error occurs when using the default PrintingTools service or a custom printing service. In some cases, the error may persist even after restarting the PrintingTools service or ArcGIS Server.
The issue is caused by an incompatibility between ArcGIS Pro and ArcGIS Server versions. When using ArcGIS Pro 3.x with ArcGIS Server version 10.9.1 or 11.1, this error may occur when utilizing the print service (default or custom) in ArcGIS Enterprise.
To resolve the error, install a version of ArcGIS Pro which is compatible with the installed version of ArcGIS Server.
Note:
Older versions of ArcGIS Pro can be downloaded from My Esri by navigating to the Downloads tab and selecting All Products and Versions. On the Products page, navigate to the All Versions tab.
Article ID: 000038812
Get help from ArcGIS experts
Start chatting now