A feature layer in your map has a display field set to an area or length field, and you attempted to publish a hosted feature layer from the map to your portal.
Solutions
Change the display field for the layer.
- Right-click the layer in the table of contents and click Properties.
- Click the Display tab and choose a different Field for the Display Expression. Do not use the area or length field.
- Click OK to apply your changes.
More information
For more information on preparing data to publish as a feature service, see Author feature services in the ArcGIS Server help.