Error creating Zoom conference with Google Calendar API

Viewed 1824

I'm using the Google Calendar API to programmatically create calendar events for users. I want to give users the option to include a Zoom meeting while creating their event (assuming they have the Zoom add-on for Gcal).

However, I get the following error when I try to create the event:

"Invalid conference type value."

Here is the body of my request (using the REST API):

data = {
    summary: ...,
    start: {...},
    end: {...},
    conferenceData: {
      createRequest: {
        requestId: uuid4().toString(),
        conferenceSolutionKey: {
          type: "addOn"
        }
      }
    }
  }

I used the type "addOn" per the allowed key types defined in the docs.

Another weird observation is that, when I pull my calendar metadata using the CalendarList API, under allowedConferenceSolutionTypes, only "hangoutsMeet" is listed. However, I double-checked in the Google Calendar client and I definitely have the Zoom add-on enabled.

Is this a bug in the Google Calendar API? Anyone have any pointers on how to create 3rd party conferencing meetings while creating GCal events?

1 Answers

This is currently not possible as confirmed by those two issues:

Even though the documentation of conferenceData seems to suggest that it is possible:

The conference solution, such as Hangouts or Google Meet. Unset for a conference with a failed create request. Either conferenceSolution and at least one entryPoint, or createRequest is required.

However the API returns an error if someone tries to do exactly that:

Cannot have multiple conferences of type Hangout and NamedHangout

I created a feature request, so I would suggest to go there and "vote" for it:

Related