esriXYEventError Constants

XY Event Error Codes.

Constant Value Description
XYEVENT_​E_​INVALID_​X_​NAME -2147201023 Invalid X Field Name.
XYEVENT_​E_​INVALID_​X_​TYPE -2147201022 Invalid X Field Type.
XYEVENT_​E_​INVALID_​Y_​NAME -2147201021 Invalid Y Field Name.
XYEVENT_​E_​INVALID_​Y_​TYPE -2147201020 Invalid Y Field Type.
XYEVENT_​E_​INVALID_​Z_​NAME -2147201019 Invalid Z Field Name.
XYEVENT_​E_​INVALID_​Z_​TYPE -2147201018 Invalid Z Field Type.
XYEVENT_​E_​CANT_​SELECT -2147201017 Can't Select.
XYEVENT_​E_​SOURCENAME_​NOT_​SETUP -2147201016 SourceName Not Set Up.
XYEVENT_​E_​CANT_​DELETE_​FIELD -2147201015 Can't delete a mandatory location field.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close