In Appfarm functions, you can only return primitive types, such as: string, boolean, number, etc.
and here, you are returning a
Date object. Maybe you want to return a string formatted as a date instead?
Ok, I see!
My wish is to set a datetime field of an object using the Create Object action node. I guess I’ll have to find a work around using the value processor maybe.
Appfarm’s date property is an ISO formatted date string. You will get the correct format by doing a
.toJSON() on a date object.
In your case:
This error message is now documented (and searchable) in our docs.