laptop and a wrench

Bug

ArcGIS API for Python arcgis.geometry functions fail with the error message, "Exception: Unable to complete operation. The operation was attempted on an empty geometry. (Error Code: 400)" returned.

ArcGIS API for Python
Bug ID Number BUG-000154257
SubmittedDecember 7, 2022
Last ModifiedJune 5, 2025
Applies toArcGIS API for Python
Version found2.0.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.3.0
StatusFixed

Workaround

Replace the value for the offset_unit key with the associated numerical value from the esriSRUnitType Constants documentation. Refer to https://developers.arcgis.com/enterprise-sdk/api-reference/net/esriSRUnitType/ and https://developers.arcgis.com/enterprise-sdk/api-reference/net/esriSRUnit2Type/.

Steps to Reproduce

Bug ID: BUG-000154257

Software:

  • ArcGIS API for Python

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