error and acp templates