<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/ES_RESPOND_RESULT_ERR_EVENT_TYPE",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@EA@es_respond_result_t@ES_RESPOND_RESULT_ERR_EVENT_TYPE"
  },
  "title" : "ES_RESPOND_RESULT_ERR_EVENT_TYPE"
}
-->

# ES_RESPOND_RESULT_ERR_EVENT_TYPE

The caller performed an inappropriate response to the event.

```
var ES_RESPOND_RESULT_ERR_EVENT_TYPE: es_respond_result_t { get }
```

## Discussion

Authorization events require the client to respond with an appropriate result using either [`es_respond_auth_result(_:_:_:_:)`](/documentation/EndpointSecurity/es_respond_auth_result(_:_:_:_:)) or [`es_respond_flags_result(_:_:_:_:)`](/documentation/EndpointSecurity/es_respond_flags_result(_:_:_:_:)). This error occurs if the client attempts to respond to an authorization event using the wrong interface. It also occurs when the client performs any response to a notification-only event.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)