check the instance and return error if not found
first step of GetMediaInfo