Raise error on describe by attribute functions when attribute is invalid