Fix that operation uses deprecated ValidationError