Publishing a hosted feature layer with a relationship class from ArcGIS Pro to ArcGIS Online and sharing it with ArcGIS Enterprise 11.4 via a distributed collaboration (as copies) causes a REST endpoint error due to a missing 'name' property under relationships.