delete post with error