Adding Email Template Attributes

Hi, I am trying to edit a default email template by adding an additional attribute that will call ${requesterComments}.

This is the POST method in use: /cc/api/emailTemplate/update?id=2c91808880b9740f0180d0fedc3c0c16

I am getting this error:

“msg_template”: “Missing or invalid arguments: {0}”,
“slpt_error_code”: “SLPT-1000”,
“formatted_msg”: “(SLPT-1000) Missing or invalid arguments: com.cloudmasons.UpdateEmailTemplateCmd@3455dc5f”,
“exception_id”: “1863AE2BCD5”,
“errorDetail”: ,
“error_code”: 1000,
“exception_class”: “com.cloudmasons.exceptions.SLPTInvalidArgException”,
“exception_detail”: {
“file”: “ApiEmailTemplateController.groovy”,
“method”: “update”,
“line_number”: 302,
“class”: “com.cloudmasons.ApiEmailTemplateController”
},
“http_response_code”: 400,
“timestamp”: “2023-02-10 10:33:03.445”,
“exception_message”: “(SLPT-1000) Missing or invalid arguments: com.cloudmasons.UpdateEmailTemplateCmd@3455dc5f”,
“arg_list”: [
{
“subject”: null,
“attributes”: null,
“id”: null,
“body”: null,
“params”: {
“subject”: null,
“attributes”: ,
“body”: null
},
“errors”: {
“errors”: [
{
“rejected-value”: [
{
“name”: “requesterComments”,
“description”: “The reason that requester specified for the access request.”,
“type”: “string”,
“value”: null
}
],
“field”: “attributes”,
“message”: “No converter found capable of converting from type org.codehaus.groovy.grails.web.binding.bindingsource.JsonDataBindingSourceCreator$JsonArrayList to type java.lang.String”,
“object”: “com.cloudmasons.UpdateEmailTemplateCmd”
},
{
“rejected-value”: null,
“field”: “id”,
“message”: “Property [id] of class [class com.cloudmasons.UpdateEmailTemplateCmd] cannot be null”,
“object”: “com.cloudmasons.UpdateEmailTemplateCmd”
}
]
}
}
]
}


Is there a way to include this attribute?