.......... [ZBXNEXT-686] the api gateway will now restore the error handler after performing an API call