laptop and a wrench

Bug

The export_map function in ArcGIS API for Python fails and returns the following error message, "Error 400: Invalid URL" if the Portal uses a custom print service as the default.

Last Published: December 14, 2020 ArcGIS API for Python
Bug ID Number BUG-000136046
SubmittedDecember 10, 2020
Last ModifiedAugust 26, 2025
Applies toArcGIS API for Python
Version found1.8.3
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.0.0
StatusFixed

Workaround

Change the value of 'gis.properties.helperServices.printTask.url' property to the REST URL of the out of the box print service. For example:

gis.properties.helperServices.printTask.url = https://server.domain.com/webadaptorname/rest/services/Utilities/PrintingTools/Export%20Web%20Map

Steps to Reproduce

Bug ID: BUG-000136046

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options