SIDP-482: add encoder calls to default error pages