Require urgent info around Webhooks. I'm not getti...
# developers
p
Require urgent info around Webhooks. I'm not getting Meetings Details in the webhook payload. Initially, we use to get the data meeting details (Google Calendar). Now it's not there.
New Data without meeting details.
Copy code
{
  "triggerEvent": "BOOKING_CREATED",
  "createdAt": "2022-11-22T16:01:47.909Z",
  "payload": {
    "type": "30 Min Meeting",
    "title": "30 Min Meeting between Prateek Kumar and Ask Prateek",
    "description": "",
    "additionalNotes": "",
    "customInputs": {},
    "startTime": "2022-11-23T06:30:00Z",
    "endTime": "2022-11-23T07:00:00Z",
    "organizer": {
      "name": "Prateek Kumar",
      "email": "<mailto:prateek@epyc.in|prateek@epyc.in>",
      "timeZone": "Asia/Calcutta",
      "language": {
        "locale": "en"
      }
    },
    "attendees": [
      {
        "email": "<mailto:askpk123@gmail.com|askpk123@gmail.com>",
        "name": "Ask Prateek",
        "timeZone": "Asia/Calcutta",
        "language": {
          "locale": "en"
        }
      }
    ],
    "location": "integrations:google:meet",
    "destinationCalendar": {
      "id": 19,
      "integration": "google_calendar",
      "externalId": "<mailto:prateek@epyc.in|prateek@epyc.in>",
      "userId": 1,
      "eventTypeId": null,
      "credentialId": 21
    },
    "hideCalendarNotes": false,
    "requiresConfirmation": null,
    "eventTypeId": 1,
    "seatsShowAttendees": false,
    "uid": "eKpXPbdvUsons8dF7JMDzU",
    "conferenceData": {
      "createRequest": {
        "requestId": "8a0ce172-f69a-51b5-8481-93feb73d58e2"
      }
    },
    "appsStatus": [
      {
        "appName": "Google Calendar",
        "type": "google_calendar",
        "success": 1,
        "failures": 0
      }
    ],
    "eventTitle": "30 Min Meeting",
    "eventDescription": null,
    "price": 0,
    "currency": "usd",
    "length": 30,
    "bookingId": 24,
    "metadata": {},
    "status": "ACCEPTED"
  }
}
Old Webhook data
Copy code
{
  "triggerEvent": "BOOKING_CREATED",
  "createdAt": "2022-10-26T11:48:56.858Z",
  "payload": {
    "type": "30 Min Meeting",
    "title": "30 Min Meeting between Pesto  and Mayank",
    "description": "No",
    "additionalNotes": "No",
    "customInputs": {},
    "startTime": "2022-10-28T05:00:00Z",
    "endTime": "2022-10-28T05:30:00Z",
    "organizer": {
      "name": "Pesto ",
      "email": "epyc@pesto.tech",
      "timeZone": "Asia/Kolkata",
      "language": {
        "locale": "en"
      }
    },
    "attendees": [
      {
        "email": "<mailto:mayank@epyc.in|mayank@epyc.in>",
        "name": "Mayank",
        "timeZone": "Asia/Calcutta",
        "language": {
          "locale": "en"
        }
      }
    ],
    "location": "integrations:daily",
    "destinationCalendar": {
      "id": 20513,
      "integration": "google_calendar",
      "externalId": "epyc@pesto.tech",
      "userId": 37436,
      "eventTypeId": null,
      "credentialId": 39827
    },
    "hideCalendarNotes": false,
    "requiresConfirmation": null,
    "eventTypeId": 115261,
    "seatsShowAttendees": false,
    "uid": "ouj245uWGxjTNwHTboRBsr",
    "conferenceData": {
      "createRequest": {
        "requestId": "2db644eb-37a5-581a-99fa-ebe6ce513834"
      }
    },
    "videoCallData": {
      "type": "daily_video",
      "id": "HRAZRM8JEN3VqQnx2vXT",
      "password": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoiSFJBWlJNOEpFTjNWcVFueDJ2WFQiLCJvIjp0cnVlLCJkIjoiYmJkOThhNzEtMTljOS00YmIxLWE1YzUtY2FmMWVjNWJkMTA1IiwiaWF0IjoxNjY2Nzg0OTM1fQ.XBmtdRgjBawJGCNVg1A941tpCKnpKYN1U7nqKiDK2Mo",
      "url": "<https://meetco.daily.co/HRAZRM8JEN3VqQnx2vXT>"
    },
    "appsStatus": [
      {
        "appName": "Cal Video",
        "type": "daily_video",
        "success": 1,
        "failures": 0
      },
      {
        "appName": "Google Calendar",
        "type": "google_calendar",
        "success": 1,
        "failures": 0
      }
    ],
    "eventTitle": "30 Min Meeting",
    "eventDescription": null,
    "price": 0,
    "currency": "usd",
    "length": 30,
    "bookingId": 115987,
    "metadata": {},
    "status": "ACCEPTED"
  }
}
m
@Peer @Hariom Balhara @Udit Takkar Our apps are failing
p
@Ali i dont think anything has changed with webhooks
p
Can you confirm the payload of Webhooks!
a
I can confirm that the webhooks have been untouched. This has to be around the space where the meeting information is fed. 🤔 Can you please confirm the last time when the meeting data was provided with the payload @Prateek Kumar?
p
But how do we get the meeting schedule! --- We got this payload ~ about a month before. on 26 October be exact.
a
https://developer.cal.com/webhook So here's something you can test to see if the meeting data is being passed on or not. You could maybe create a custom payload, create a test booking and confirm what (if anything) about the meeting comes through?
p
Unable to get meetings details using that. Can you folks help? This is super urgent for us. cc @Peer
a
I notice that the integration is different in both the webhook payload data (old and new). Can you please test once with Daily to rule out google specific issue?
p
@Prateek Kumar can you book cal.com/ali for live debugging?
p
@Ali, Checking your theory.
a
@Prateek Kumar Any joy?
p
Got this error while using Cal as a meeting. Missed pressing Enter key. hence message didn't go. 🙂
a
Missing the enter key press, that happens 🙂 Can you please confirm that the DAILY_API_KEY is valid in your .env?
p
We don't have the DAILY_API_KEY.
a
Cool. Let me check a few things on our end and I'll get back to you ASAP 🙏
p
Thank you.
Headsup. I might ping your for a call as well today.
a
It would be great if you book a slot as it would be extremely difficult for me to jump on a call if I'm already booked elsewhere 🙏 cal.com/ali
p
I can't book you today. That why I messaged here.
a
Let me check my calendar and see if I can slot you in somewhere. A moment please
p
Cool.
a
I've sent you an invite for the meeting in about an hour and twenty minutes from now. That's the only slot I could squeeze you in, unfortunately. If that works, awesome. If not, please book one for tomorrow 🙏
p
Cool. Thanks 🙂
I'll join 🙂 @Ali
a
@Emrysal @Carina Wollendorfer Any ideas why Google Meet information isn't provided in the Webhook payload? Daily used to work, and a custom link as location also works. To me it looks like the google meet URL isn't accessible at the time of webhook being fired and hence missed out in the Payload, but I could be wrong. Any ideas?
p
One more thing @Ali. Let us know if there is a way to get Meetings details from the database. We will go thru that route as well.
a
So we don't store the meeting URLs in the DB currently, but that's something that has been discussed fairly recently and it is something we might opt for very soon. cc:@Hariom Balhara
p
We are thinking to get user's accessToken and calendar event id to get it from google API Thoughts?
a
Definitely worth a try, imo. Sounds like a good place to explore in the mean time at the very least 🙏
p
I need help with finding the calendar id of the Booking. Which table to look at? This will be really helpful.
a
It should be in the SelectedCalendar table, I think.
p
Found the DB based solution for now.