sets the correct flash error if a group exists