Check 'error_page' and 'unauthorized_page' when delete document