Deluge error on updating datetime field

Deluge error on updating datetime field

Hi,

while updating date-time field , i am getting this error 

  • {"code":"INVALID_DATA","details":{"expected_data_type":"datetime","api_name":"Date_Time_1"},"message":"invalid data","status":"error"}

Here is the code , i have tried

leads = zoho.crm.getRecordById("Leads", leadID);
expiry = zoho.currentdate.addDay(90).toDate(); info expiry; 
//
mp = Map();
mp.put("Date_Time_1", expiry);
update = zoho.crm.updateRecord("Leads", leadID, mp); info update;





Please let me know , if need other details.

Thanks and Regards,
Sidhant A.