Calendar Booking Issue – Appointments Being Scheduled in the Past (2023)
I'm currently using the Google Calendar integration with Vapi, and the calendar connection itself is working correctly appointments are being added. However, I'm encountering an issue where scheduled events are being booked two years in the past.
Here's an example response from the calendar object after a recent booking:
json
Copy
Edit
"start": {
"dateTime": "2023-10-05T10:00:00-04:00",
"timeZone": "America/New_York"
},
"end": {
"dateTime": "2023-10-05T10:30:00-04:00",
"timeZone": "America/New_York"
}
As you can see, the date is incorrectly set to 2023 instead of the current year.
I've reviewed the prompt logic and can't find any date/time inputs that would override the current year. Could you help me identify what might be causing this behavior, or if there's a way to force the booking to respect the current date?
Thanks in advance for your help.
Here's an example response from the calendar object after a recent booking:
json
Copy
Edit
"start": {
"dateTime": "2023-10-05T10:00:00-04:00",
"timeZone": "America/New_York"
},
"end": {
"dateTime": "2023-10-05T10:30:00-04:00",
"timeZone": "America/New_York"
}
As you can see, the date is incorrectly set to 2023 instead of the current year.
I've reviewed the prompt logic and can't find any date/time inputs that would override the current year. Could you help me identify what might be causing this behavior, or if there's a way to force the booking to respect the current date?
Thanks in advance for your help.