Handle mapping failure from get_ids.