Description
The input feature class must be registered as versioned.
Solution
Specify a versioned feature class as input, or register the current input feature class as versioned.
For more information about versioning in ArcGIS Pro, see Overview of versioning.
To register a feature class as branch versioned, see Register a dataset as branch versioned.