Hi all, I’m having a weird new issue with my Airtable step, regarding the date.
As you can see [1] it’s arriving from the webhook as an ISO8601 date, but is resulting in an Airtable error [3].
What is particularly weird is that if I rerun the failed scenario from the point where it failed, it immediately works.
Anyone encountered this? What is tripping up the date field?
Because n8n needs to convert the data to strings to pass it as a JSON along the workflow, sometimes this can cause format issues with the dates.
Could you try formatting the date to ISO before passing it to Airtable and see if this resolves the error?
An expression like {{ new Date($node["Set"].json["Date"]).toISOString() }} instead of {{ $json.Date }}
Thanks Mariana, that solved it.
I actually just modified the Set step to force it to an ISO datestring.
I’m a bit perplexed as to why in the errored cases the Airtable step is showing an ISO formatted date string as the input [1], but according to the Airtable error [2] the string actually being sent is in standard date string format. That’s what tripped me up.
Is that a bug, or is there a setting I can change to fix that?