Update record custom module script

Update record custom module script

Hi I have been trying for hours to work out what i am doing wrong

Custom Module called "Service Request"

I want to update the "Email" the the email address of the clients

VoidUpdateSR(Int id,String email)

//setup map
mp=map();
mp.put("Email",input.email);
update = zoho.crm.updateRecord("Service Requests",id.toLong(), mp);
info mp;
info update;


Get this error after putting in the ID and Email Address 


_____________________________
Info
  • {"Email":"blackedout@gmail.com"}
  • {"status":"failure"}
Function executed successfully

what am i doing wrong