DTK-1522: Fix error parsing