(To whom it may concern...)
I had a similar problem.
When opening an account form in the user interface or in the editor, these were the following error details (I anonymized some details) - please note that the mentioned field "sth_data_dataversion_str" had already been deleted from the environment about 5 to 10 days ago and there was no reference left (no javascript, no code, no webresource of any kind and so on):
Microsoft.OData.ODataException: Could not find a property named 'sth_data_dataversion_str' on type 'Microsoft.Dynamics.CRM.account'. at Microsoft.OData.UriParser.SelectPathSegmentTokenBinder.ConvertNonTypeTokenToSegment(PathSegmentToken tokenIn, IEdmModel model, IEdmStructuredType edmType, ODataUriResolver resolver, BindingState state) at Microsoft.OData.UriParser.SelectExpandBinder.ProcessSelectTokenPath(PathSegmentToken tokenIn) at Microsoft.OData.UriParser.SelectExpandBinder.GenerateSelectItem(SelectTermToken tokenIn) at Microsoft.OData.UriParser.SelectExpandBinder.Bind(ExpandToken expandToken, SelectToken selectToken) at Microsoft.OData.UriParser.SelectExpandSemanticBinder.Bind(ODataPathInfo odataPathInfo, ExpandToken expandToken, SelectToken selectToken, ODataUriParserConfiguration configuration, BindingState state) at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpandImplementation(String select, String expand, ODataUriParserConfiguration configuration, ODataPathInfo odataPathInfo) at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpand() at Microsoft.Crm.Extensibility.OData.DataQueryOptionsConverter.BindSelectExpand(EntityExpression qe, SelectExpandQueryOption selectExpandQueryOption)
UciError: Microsoft.OData.ODataException: Could not find a property named 'sth_data_dataversion_str' on type 'Microsoft.Dynamics.CRM.account'. at Microsoft.OData.UriParser.SelectPathSegmentTokenBinder.ConvertNonTypeTokenToSegment(PathSegmentToken tokenIn, IEdmModel model, IEdmStructuredType edmType, ODataUriResolver resolver, BindingState state) at Microsoft.OData.UriParser.SelectExpandBinder.ProcessSelectTokenPath(PathSegmentToken tokenIn) at Microsoft.OData.UriParser.SelectExpandBinder.GenerateSelectItem(SelectTermToken tokenIn) at Microsoft.OData.UriParser.SelectExpandBinder.Bind(ExpandToken expandToken, SelectToken selectToken) at Microsoft.OData.UriParser.SelectExpandSemanticBinder.Bind(ODataPathInfo odataPathInfo, ExpandToken expandToken, SelectToken selectToken, ODataUriParserConfiguration configuration, BindingState state) at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpandImplementation(String select, String expand, ODataUriParserConfiguration configuration, ODataPathInfo odataPathInfo) at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpand() at Microsoft.Crm.Extensibility.OData.DataQueryOptionsConverter.BindSelectExpand(EntityExpression qe, SelectExpandQueryOption selectExpandQueryOption) at s (https://content.powerapps.com/resource/u...b/scripts/app....6.js:33:9...5) at new m (https://content.powerapps.com/resource/u...b/scripts/app....6.js:28:1...8) at m.fromLegacyErrorStatus (https://content.powerapps.com/resource/u...b/scripts/app....6.js:28:165071) at O (https://content.powerapps.com/resource/u...b/scripts/app....6.js:28:1...2) at https://content.powerapps.com/resource/u...b/scripts/app....6.js:33:2...9
I did not find the true reason for the error but I succceeded to remove it.
My solution:
As I already mentioned above: sth_data_dataversion_str was a field that I had already deleted at least 5 days ago from the environment.
So now I created this field "sth_data_dataversion_str" anew and put in on the form, published the form and did a "publish all" (to be absolutely sure it's published :-))
Tested: no error was thrown (UI, editor)
Removed the field "sth_data_dataversion_str" from the form and published / published all
Tested: no error was thrown (UI, editor)
Deleted the field "sth_data_dataversion_str" from the environment, published all
Tested: no error was thrown (UI, editor)
Done! 👍