Missing field creating a meeting

Description
I am trying to do a request to create a meeting, but I am getting a “Missing field error”, the thing is that I do not know which one is the missing field. I am using nodejs and axios

Error
{
code: 300,
message: ‘Validation Failed.’,
errors: [ { field: ‘recurrence.type’, message: ‘Missing field.’ } ]
}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
I am using JWT

Which Endpoint/s?
https://api.zoom.us/v2/users/{user_id}/meetings

How To Reproduce (If applicable)
I am using this body:
topic: “string”,
type: 2,
start_time: “2020-12-21’T’17:09:00’Z”,
duration: 60,
schedule_for: “”,
timezone: “Asia/Shanghai”,
password: “”,
agenda: “string”,
recurrence: {
type: null,
repeat_interval: null,
weekly_days: null,
monthly_day: null,
monthly_week: null,
monthly_week_day: null,
end_times: null,
end_date_time: null
},
settings: {
host_video: true,
in_meeting: false,
join_before_host: true,
mute_upon_entry: true,
participant_video: true,
registration_type: 1,
use_pmi: false,
watermark: false,
registrants_email_notification: false
}

You are passing the recurrence property. Delete this entire property. This should only be passed if the meeting.type is 3 or 8.

recurrence: {
    type: null,
    repeat_interval: null,
    weekly_days: null,
    monthly_day: null,
    monthly_week: null,
    monthly_week_day: null,
    end_times: null,
    end_date_time: null
},

Reference: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate#request-body

Correct, this was the problem, thank you

1 Like

Hey @alexmayo — thanks for pointing them in the right direction! :100:

Glad it’s sorted, @alfredomujicagodoy :slight_smile:

Best,
Will

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.