We checked the tasks and it tried to execute the logged query in a Database transformer and failed. The Database transformer throws an error where a column doesn’t exist in the table.
SQLSTATE[42S22]: Column not found: 0 [Zen][ODBC Client Interface][LNA][Zen][SQL Engine]Invalid column name:'SortField'. (SQLPrepare[0] at /build/php7.4-Z31pLE/php7.4-7.4.3/ext/pdo_odbc/odbc_driver.c:204)
Regardless of the query error, it seems that the Database batch publisher doesn’t show the same error in the logs. Therefore, we will investigate this further and will inform you once we have an update.
We found out that the route’s option “Activate retrying of failed tasks” makes the error that is thrown in the outgoing process doesn’t appear in the task. If a task failed and is marked as RETRY, the error log doesn’t appear. When it reaches the maximum number of retry attempts and is marked as FAILED, the error log will then appears.
We have passed this information on to the corresponding team for further investigation. We will let you know once we have an update. As for the workaround, you can try disabling the option “Activate retrying of failed tasks” in the route, so that you can immediately see the error log when a task failed.