---
title: AXError.invalidUIElement
framework: applicationservices
role: symbol
role_heading: Enumeration Case
path: applicationservices/axerror/invaliduielement
---

# AXError.invalidUIElement

The accessibility object received in this event is invalid.

## Declaration

```swift
case invalidUIElement = -25202
```

## See Also

### Result Codes

- [AXError.illegalArgument](applicationservices/axerror/illegalargument.md)
- [AXError.invalidUIElementObserver](applicationservices/axerror/invaliduielementobserver.md)
- [AXError.cannotComplete](applicationservices/axerror/cannotcomplete.md)
- [AXError.attributeUnsupported](applicationservices/axerror/attributeunsupported.md)
- [AXError.actionUnsupported](applicationservices/axerror/actionunsupported.md)
- [AXError.apiDisabled](applicationservices/axerror/apidisabled.md)
- [AXError.parameterizedAttributeUnsupported](applicationservices/axerror/parameterizedattributeunsupported.md)
