errorType":"invalid"

errorType":"invalid"

Hi all,

Trying to setup a creator form to create a ticket in desk but getting an error on this section:

  1. orgId = 750xxxxxx;
  2. department = 606xxxxxx;

  3. account = zoho.desk.searchRecords(orgId,"contacts",{"email":input.Email},0,1,"zoho_desk").get("data").get(0).get("accountId");
  4. info account;

  5. submission = Map();
  6. submission.put("subject",input.RMA_Type);
  7. submission.put("departmentId",department);
  8. submission.put("contactId",account);

  9. info submission;

  10. ticketresponse = zoho.desk.create(orgId,"tickets",submission,"zoho_desk");
  11. info ticketresponse;

Variables are filling with correct values but this it JSON response:

{
   "errorCode":"INVALID_DATA",
   "message":"The data is invalid due to validation restrictions",
   "errors":[
      {
         "fieldName":"/contactId",
         "errorType":"invalid",
         "errorMessage":""

No validation rules setup in Desk.  Any thoughts?