Check existence of metadata field and throw if not