March 7, 2023, 7:41pm
My google calendar event creates one hour earlier from actual timings.
Where I am getting data from custom webhook with output data of start time"10:00AM" and end time “11:00AM”.
Where as incorrect event creates with start time 9 AM and End time 10 AM.
Its not happening every time but in rare cases I must say 10% case its creates wrong event in google calendar.
Please have a look at screenshots.
**I crossed check timezones in Make and Google calender as both are same - America/Edmonton **
Although I am using below Mapping for timings in google calendar
Start time :
6;HH:mm A);hh:mm A;America/Edmonton)
End time :
7;HH:mm A);hh:mm A;America/Edmonton).
Please help on urgent basis and it is hampering my business.
As you mentioned the error pattern is not consistent. I think someone will have to look into your scenario and diagnose the input and output data.
March 8, 2023, 7:55pm
I shared the screenshots above as input and output data for your reference.
Can you please guide.
Sorry I mean the scenario functioning and the history log wherever this time mismatch issue happened.
Because the screenshots show some data but cannot be diagnosed well for data format issues and mapping issues.
Can you show the screenshots of a good one that goes in correctly.
March 8, 2023, 9:15pm
I made the Exact same entry after half an hour and it was correct, Please have a look at screenshot.
Webhook out values goes into google calendar input values.
Start time : 10:00 AM and end time 11:00 am
The formula is incorrect. The start and end time requires input in date datatype. So the formula should be finally wrapped with ParseDate function only.
Refer to the below link for more details:
If you need assistance, don’t hesitate to contact me.
March 9, 2023, 1:38am
You mean to say. it should be like this
7; “hh:mm A”; “America/Edmonton”); “HH:mm A”)}}
Format Date won’t have much role here as your intention is not to format the date. Specifiy the parseDate with date and time and specify the format properly.
March 9, 2023, 2:20am
I tried both ways like you suggested.
7; “HH:mm A”; “America/Edmonton”); “HH:mm A”; “America/Edmonton”)}}
Error: Failed to map ‘end’: Function ‘parseDate’ finished with error! Function ‘formatDate’ finished with error! ‘01:00PM’ is not a valid date.
and Other way to use parse date only.
6; “HH:mm A”; “America/Edmonton”)}}
and it throws an error:
Validation failed for 2 parameter(s).
Just to update
9.6 is Start time like 9:00AM as String value but not datetype. Like
and 9.7 is End time 11:00 AM as String value and not datetype