Return an error when no data in the metadata db