English

Error: ERROR 001270: Consolidating the data failed

Error Message

When attempting to publish a feature service to ArcGIS Online, the following error message is returned:

Error:   
ERROR 001270: Consolidating the data failed. 

Cause

The error occurs due to one of the following reasons:

  • The output geodataset is enabled to store m-values and z-values in the Environment Settings in ArcMap. When m-values and z-values are enabled in ArcMap, the geometry of features cannot change in ArcGIS Online.  
  • The map document contains group layers. Group layers are not supported in ArcGIS Online.
  • The map document contains a corrupted feature dataset. 
  • The feature classes or tables contain in-memory joins or relates. In-memory joins and relates are not supported in an ArcGIS Online feature service. 
  • The map document contains stand-alone tables or feature classes in the Table Of Contents. Stand-alone tables and feature classes are not supported by ArcGIS Online hosted feature services.

Solution or Workaround

To resolve the error, use any of the following solutions (depending on the cause):

  • Disable m-values and z-values for the output layer in the Environment Settings prior to publishing.
  1. In ArcMap, navigate to Geoprocessing > Environments > Environment Settings.
  2. In the Environment Settings window, expand M Values.
  3. From the Output has M Values drop-down list, select Disabled.
  4. Expand Z Values and from the Output has Z Values drop-down list, select Disabled.
  5. Click OK
An image of the Environment Settings window.
  • Ungroup layers from the group layers to add the contained layers to the parent layer. To ungroup the layers, right-click the group layer name, and click Ungroup.
An image of ungrouping the layers from a group layer.
  • Repair the corrupted dataset. In ArcMap, run the Check Geometry tool to identify geometry errors in the dataset. To fix the corrupted data, run the Repair Geometry tool. For more information on identifying and repairing datasets, refer to Checking and repairing geometries.
  • Make a permanent join to each feature class or joined table by exporting the joined feature layer or table. To export the layer, right-click the layer in the Table Of Contents Data > click Export Data. This creates a new feature class with all the attributes, including the joined fields.
  • Remove stand-alone tables and feature classes from the Table Of Contents, or move the stand-alone feature classes into the feature dataset in the Table Of Contents. To remove the feature class, right-click the layer in the Table Of Contents, and click Remove
An image of removing the feature class from the Table Of Contents.

Related Information