diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/op_intent_ref_simple.py b/monitoring/uss_qualifier/scenarios/astm/utm/dss/op_intent_ref_simple.py index 8f6c2428ed..4ff241fd0c 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/op_intent_ref_simple.py +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/op_intent_ref_simple.py @@ -221,9 +221,9 @@ def _step_attempt_mutation_missing_ovn(self): ) except QueryError as qe: self.record_queries(qe.queries) - if qe.cause_status_code in [400, 409]: - # An empty OVN can be seen as both an incorrect parameter as well as a conflict - # because the value is incorrect: we accept both a 400 and 409 return code here. + if qe.cause_status_code in [400, 404, 409]: + # An empty OVN can be seen as: + # an incorrect parameter (400), a reference to a non-existing entity (404) as well as a conflict (409) pass else: check.record_failed(