Attempting to delete the range of values of a certain field in a hosted feature layer in Portal for ArcGIS 10.7.1 returns the error message, "There was an error."
This issue is not reproducible with the release of ArcGIS Enterprise 10.8.1 (and newer versions). ArcGIS Enterprise 10.7.1 is now in mature support and is no longer eligible for patch support.