laptop and a wrench

Bug

When deleting a version from a branch versioned feature service with a portal username consisting of 40 characters and above, the following error message is received, "ERROR 160366: The version could not be located. Failed to execute (DeleteVersion)"

Last Published: July 20, 2021 ArcGIS GIS Server
Bug ID Number BUG-000140398
SubmittedJune 2, 2021
Last ModifiedJuly 3, 2025
Applies toArcGIS GIS Server
Version found10.8.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.9
StatusFixed

Workaround

Repeat the steps as mentioned above, but this time create a portal built-in user with username consisting of 39 Characters or less, and the version deletes as expected. 

Steps to Reproduce

Bug ID: BUG-000140398

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options