[validate][xs]: bugfix for template for http errors.