i found "Failed to execute function
UnParsable date Line Number:29"this type of error due to my date time field
data = zoho.crm.getRecordById("ticket_reservations",6319382000000936046);
// info data;
creator_ID = data.get("id");
ticketName = data.get("Name");
phone = data.get("Phone");
email = data.get("Email");
address = data.get("Address");
date_time = data.get("Date_Time");
info date_time;
train = data.get("Train");
class = data.get("Class");
photo = data.get("Image_Upload");
cnic = data.get("Upload_CNIC");
fromCity = data.get("From");
toCity = data.get("To");
amount = data.get("Amount");
persent = data.get("Percent_1");
decimal = data.get("Decimal_1");
subform = data.get("Companion");
// ********************mp start*********************//
mp = Map();
mp.put("CRM_ID",creator_ID.toString());
mp.put("Name",ticketName);
mp.put("Email",email);
mp.put("Phone_Number",phone);
mp.put("Address",address);
mp.put("Date_Time",date_time.toString("dd-MMM-yyyy'T'HH:mm:ss+05:00"));
mp.put("Train",train);
mp.put("Class",class);
mp.put("From",fromCity);
mp.put("To",toCity);
mp.put("Currency",amount);
mp.put("Percent",persent);
mp.put("Decimal",decimal);
listVar = List();
opt = Map();
for each companion in subform
{
mapVar = Map();
friend_name = companion.get("Name1");
gender = companion.get("Gender");
age = companion.get("Age");
mapVar.put("Name1",friend_name);
mapVar.put("Gender",gender);
mapVar.put("Age",age);
listVar.add(mapVar);
}
mp.put("companion",listVar);
send_data = zoho.creator.createRecord("testzohoproject650","railway","ticket_reservation",mp,opt,"crmtocreator");