Unable to update template variable.

Unable to update template variable.

Hello Everyone,

I'm experiencing the following error when using getRecordsbyId. Here is the code, see attachment for error as well. Not sure what the deal is. It seems to be only an issue with this type of look up. I've checked the forums and there doesn't seem to be a fix. Any help is appreciated, thanks.

  1. if (input.Lead_Id  ==  null)
  2. {
  3.     alert("You must enter a valid lead Id.");
  4. }
  5. else
  6. {
  7.     crmResponse = zoho.crm.getRecordById("Leads", input.Lead_Id);
  8. }