Return empty list of keys in case of error