Custom Function to pull info from Deal to Contacts

Custom Function to pull info from Deal to Contacts

Hello,
I'm trying to build a function in Zoho CRM to copy information from our Deal (called Opportunity in our production environment) over to the contact. Each deal relates to a single retail chain (walmart, target, etc). A contact may have multiple deals associated with them. So I have created a field on our deal called Chain where the sales team puts in the chain associated with that deal. On the contact is a multi-value field called Chain.

My code is such:
relatedcontacts = zoho.crm.getRelatedRecords("Contacts","Deals",dealsId.toLong(),1);
//info relatedcontacts;
for each  ele in relatedcontacts
{
mp = Map();
mp.put("Chain",Chain);
update = zoho.crm.updateRecord("Contacts",ele.get("id").toLong(),mp);
info mp;
info update;
}

I have the following arguments mapping:
Arguments Mapping

I'm getting the following error message:
Argument type mismatch - Found 'TEXT' but Expected '[BIGINT]' for the function 'get'at lineNumber 9

Any guidance on how to resolve is appreciated. Thank you.