---
title: ES_RESPOND_RESULT_ERR_EVENT_TYPE
framework: endpointsecurity
role: symbol
role_heading: Global Variable
path: endpointsecurity/es_respond_result_err_event_type
---

# ES_RESPOND_RESULT_ERR_EVENT_TYPE

The caller performed an inappropriate response to the event.

## Declaration

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

## Discussion

Discussion Authorization events require the client to respond with an appropriate result using either es_respond_auth_result(_:_:_:_:) or 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.

## See Also

### Errors

- [ES_RESPOND_RESULT_ERR_DUPLICATE_RESPONSE](endpointsecurity/es_respond_result_err_duplicate_response.md)
- [ES_RESPOND_RESULT_ERR_INTERNAL](endpointsecurity/es_respond_result_err_internal.md)
- [ES_RESPOND_RESULT_ERR_INVALID_ARGUMENT](endpointsecurity/es_respond_result_err_invalid_argument.md)
- [ES_RESPOND_RESULT_NOT_FOUND](endpointsecurity/es_respond_result_not_found.md)
