When attempting to rename a branch version, under certain configurations of an ArcGIS Pro/ArcGIS Server client with an Enterprise geodatabase, the following error may be returned:
ERROR 999999: Something unexpected caused the tool to fail. Please refer to the error help for potential solutions, or contact Esri Technical Support http://esriurl.com/support. Invalid version name. Failed to execute (AlterVersion).
These configurations include:
This error is caused by attempting to alter a branch version (for example, renaming a version) present in multiple services from the same data store (an enterprise geodatabase).
Upgrade the ArcGIS Pro client and Enterprise geodatabase to 2.2/10.6.1.