handle duplicate name bad request reason