After creating a new feature class line or polygon, the default display field in the properties is Shape_Length. Every time I need to share a web layer to AGOL, I always get the error to change this manually. After having to go through this so many times, I'm starting to wish the display field of newly created feature classes was simply defaulted to be AGOL friendly.