Action: ep_invalid_response

do_action( 'ep_invalid_response', $request, $query, $query_args, $query_object )

Fires after invalid Elasticsearch query

Parameters:
Name Type Description
$request array

Remote request response

$query array

Prepared Elasticsearch query

$query_args array

Current WP Query arguments

$query_object mixed

Could be WP_Query, WP_User_Query, etc.

Source: