Skip to content
Troubleshooting par...
 
Notifications
Clear all

Troubleshooting parseDate errors: Invalid date

4 Posts
3 Users
0 Reactions
5 Views
aminationDev
(@aminationdev)
Posts: 2
New Member
Topic starter
 

I'm setting up an AI appointment scheduling automation using callin.io, and I'm encountering an error when attempting to parse a date extracted from a call:

Does anyone have any insights into why this might be happening? I'm working with UK time. Here's the complete scenario:

This is the date format provided by OpenAI:

And here is the parseDate formula I'm utilizing:

 
Posted : 19/01/2025 8:36 pm
momomomonmon
(@momomomonmon)
Posts: 6
Active Member
 

I tested this in the Set Variable module, and it functioned correctly. I'm unsure about the cause of the issue you encountered, but does the error message differ if you modify the date's format?

 
Posted : 20/01/2025 1:15 am
aminationDev
(@aminationdev)
Posts: 2
New Member
Topic starter
 

Hi, I'm encountering the exact same error even after adjusting the date format. Have you tested this with a comparable scenario? I attempted your suggestion of parsing the date within a variable, but the error persists. I've attached the blueprint for your review:

blueprint.json (62.9 KB)

Could you please examine it?

 
Posted : 20/01/2025 10:07 am
kudracha
(@kudracha)
Posts: 5
Active Member
 

Hey everyone, I suspect there might be a mismatch in your input date strings. I've noticed variations like "...14:00:00Z" and "...14:00:00+00:00". The '+00:00' suffix is unfamiliar to me and seems unusual. This could potentially be the cause of the issue.

 
Posted : 24/01/2025 10:43 am
Share: