Issue updating amount in CRM using deluge

Issue updating amount in CRM using deluge

Hi, in need of some help!

I am new to deluge and running into an error!

I am trying to very simply pull the data from one field and update another. 

getting this error;

Failed to execute function
  • Argument type mismatch - Found 'KEY-VALUE' but Expected '[BIGINT]' for the function '754' Line Number:8

Deal_ID = zoho.crm.getRecordById("Deals",Deal_ID);
case_value = Deal_ID.get("Mortgage_Case_Value");
dealUpdate = Map();
dealUpdate.put("Amount",case_value);
update = zoho.crm.updateRecord("Deals",Deal_ID,dealUpdate);