Updating a Lead in Kommo fails

Hi dear community!
I’ve been trying to bring data from my website to update a lead in Kommo.
The data I’m having trouble with is the date of an appointment. I’m sending this data through a webhook and is being received at make like this:

Then I use the “Search contact” module from Kommo to get the lead, after that I want to update the lead, but the date comes on YYYY-MM-DD HH:mm:ss format, so I transform it to UNIX (used in Kommo) with this formula: formatDate(parseDate(1.cita; “YYYY-MM-DD HH:mm:ss”); “X”)

I can’t get this value to update at kommo, this is how I’m trying to update the “field ID” “Cita”
image

looking at the Operation Error, I get “[400] Bad Request Request validation failed” like so

And it looks like the value is not being processed as collection as it should
here’s the data retreived from “Search Contacts” module

Please Help
What I’m doing wrong?

Hello!

Welcome to the Make community!

I just finished a few tests. It’s possible that the issue is not with the custom field, it could be the fact that the ID of the contact is sent as a “String” and not an “Integer”.

Can you try to add parseNumber to the ID you map? Like this (I tested with the LEAD object)

Benjamin