You attempted to add an element to a group that does not allow the element. An element cannot be added to a group if its baseType and specificType do not match the baseType and specificType of the other elements in the group.
Try to add the element to a group that allows it to be added.