Re-added original behavior of throw duplicated trigger key name exception if existing endpoint has found.