Error out if the attribute is unknown after pass2