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