Get just the ID of a related contact to a Accounts

Get just the ID of a related contact to a Accounts

HI I am using the follwoing code, it should work but I akeep getting a error

  1. contactdetails = zoho.crm.getRelatedRecords("Contacts", "Accounts", 4994407000000372612);
  2. info contactdetails;
  3. contactID = contactdetails.get("id");
  4. info contactID;
I get the following error:

Failed to execute function
  • Argument type mismatch - Found 'TEXT' but Expected '[BIGINT]' for the function 'get' Line Number:86