Simplify getting error for metadata
typo