Function stopped working!

Function stopped working!

Hello! Wrote a function to put one field value into another field within the same module. It was working then stopped suddenly. Would love some help! Code below:

potIdStr = potId.toString();
mp = Map();
mp.put("Amount",value);
update = zoho.crm._updateRecord("Potentials",potIdStr,mp);
info mp;
info update;