throw on invalid metaDb