All the log message for failure are errors now.
get back to the original delete function.
Replace edit request by delete request to see if it works.