<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">
<div class="">Hi guys, </div>
<div class="">Somebody does use consistency/connectorErrorCriticality settings in the Resource object (midpoint version 4.0.2 LTS)? For me, it seems not working. Maybe I have missed something. I have followed by this documentation</div>
<div class=""><a href="https://github.com/Evolveum/docs/blob/master/connectors/connid/1.x/connector-development-guide/index.adoc" class="">https://github.com/Evolveum/docs/blob/master/connectors/connid/1.x/connector-development-guide/index.adoc</a></div>
<div class="">Details:</div>
<div class="">Sometimes I need skip some connector errors that are not critical for my environment and I want to ignore  or mark them as Partial error. </div>
<div class="">My connector has the next consistency settings:</div>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><i class="">   <consistency></i></div>
</div>
<div class="">
<div class=""><i class="">      <c:connectorErrorCriticality></i></div>
</div>
<div class="">
<div class=""><i class="">        <c:network>partial</c:network></i></div>
</div>
<div class="">
<div class=""><i class="">        <b class=""><c:schema>partial</c:schema></b></i></div>
</div>
<div class="">
<div class=""><i class="">        <c:generic>partial</c:generic></i></div>
</div>
<div class="">
<div class=""><i class="">    </c:connectorErrorCriticality></i></div>
</div>
<div class="">
<div class=""><i class="">   </consistency></i></div>
</div>
</blockquote>
<div class="">
<div class="">In my custom connector for these cases I return the next exception:</div>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><i class="">throw new <b class="">InvalidAttributeValueException</b>(myMessage); </i></div>
</div>
</blockquote>
<div class="">
<div class="">In the log output I see expected stack trace:</div>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><i class="">org.identityconnectors.framework.common.exceptions.<b class="">InvalidAttributeValueException</b>: myMessage</i></div>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><i class="">2021-07-05 10:30:54,252 [PROVISIONING] [midPointScheduler_Worker-10] ERROR (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): myMessage</i></div>
</div>
</blockquote>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class=""><i class="">com.evolveum.midpoint.util.exception.<b class="">SchemaException</b>: myMessage</i></div>
</div>
</blockquote>
</blockquote>
<div class="">
<div class=""><br class="">
</div>
<div class="">But during reconciliation in IDM , I am still reciving a Fatal error instead of Partial error.</div>
<div class="">What have I missed? Please help.</div>
<div class=""><br class="">
</div>
<div class="">Thank you in advance.</div>
</div>
</body>
</html>