error handling for '/delete/event' on server