Cant close alerts using the api

hi there,
we are using kibana security alerts and came by an error.

we were trying to use the kibana api to close security alerts using workflow automation.

about 10 seconds after the run is started, we get the following message: "fetch error"
the error doesn't contain any explanation regarding the error.

We have tried to use the url with script and got the same error.

when i use update document with the field workflow_status: closed it does close the alert but doesnt remove the opened so we still see it in the alerts so we open the alert and close again.

we would love help regarding that :slight_smile: