Replace delete with delete_if to head off error.Change #try to #try_rescue. Return 422 on failure without body