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.
Change the display field for the layer.
- Right-click the layer in the Contents pane and click Properties.
- Click Display and choose a Display field other than the length or area field.
- Click OK to apply your changes.
For more information on preparing data to publish as a feature service, see Author feature services in the ArcGIS Server help.