Make sure the constraint violations are returned through the API