ERROR

Invalid XML

Last Published: July 21, 2025

Error Message

When opening a map in Collector for ArcGIS (Windows), some layers fail to load and the following error message is returned:

Error:   
Invalid XML
Note:
The functionalities of ArcGIS Collector, ArcGIS Explorer, and ArcGIS Tracker are now available in ArcGIS Field Maps. There are no new capabilities planned for these apps—all future updates will be focused on Field Maps. Migration is recommended. See ArcGIS Blog: Migrate to Field Maps for more information.

Cause

This is a known issue. The error occurs if a layer in the map opened in Collector for ArcGIS (Windows) contains a coded value domain with empty values.

Solution or Workaround

Resolve the error by removing the empty domains or adding values to them in ArcGIS Desktop before publishing the layer to ArcGIS Online for use in Collector for ArcGIS (Windows). To modify and delete domains in ArcGIS Desktop, refer to the following document: Modifying and deleting attribute domains.

Domains can also be added and updated in ArcGIS Online through the Data tab in the hosted feature layer's item page. For more details, refer to ArcGIS Online: Define attribute lists and ranges.

Article ID: 000001225

Software:
  • ArcGIS Collector
  • ArcMap
  • ArcGIS Pro

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options