Problem by passing values in Zoho CRM through Flow custom function

Problem by passing values in Zoho CRM through Flow custom function

I am trying to write a custom function which updates a field with a value in zoho CRM
I have written the below

  1. void Remove_Tags_GTP(int dealID)
  2. {
  3. getDeal = zoho.crm.getRecordById("Contacts_x_Products",dealID,"crm_sandbox_v2");
  4. contactId = getDeal.get("Contacts").get("id");
  5. updateContact = zoho.crm.updateRecord("Contacts",contactId.toLong(),{"Test_Tags":"Tag1"},"crm_sandbox_v2");
  6. }
But it returns me an error like

""Argument type mismatch - Found 'COLLECTION' but Expected '[MAP]' for the zoho.crm.updateRecord. at line number 8. Resolve the errors and try executing it again""

What is the problem? This code is working in the CRM custom Function but not in Zoho Flow custom Function