Added error message only for first identity which will be duplicated.