Catch 422 exception for resolving a ticket
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3247616. --> Reported by: [danielspeicher](https://www.drupal.org/user/3621778) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>If a customized condition in Zendesk is violated, resolving a ticket via API causes a 422 exception.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Configure Zendesk with a condition in the ticket form. Resolve a ticket via API.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Catch the 422 exception and log it. The end user cannot do anything, so we do not to confuse him.</p>
issue