Zoom meeting create polls api is not working

I have worked on to create polls for meeting using meeting Id but it not not worked it shows null
but when i have tried to create polls for same meeting id from zoom then it created polls successfully. For api it is not working
i am using following code
try {
$response = $this->client->request(‘POST’, ‘/v2/meetings/91998212431/polls’, [
“headers” => [
“Authorization” => “Bearer $this->jwt”
],
‘json’ => [
“title” => ‘Meeting Usefulness’,
“questions” => [
array(
“name”=> “How useful was this meeting?”,
“type”=> “multiple”,
“answers”=> [
“Extremely useful”,
“Somewhat useful”,
“Not useful at all”
]
)
]
],
]);
$data = json_decode($response->getBody());
} catch(Exception $e) {
return array(‘error’=> true, ‘msg’ => $e->getMessage());
}

Hey @jkitchingman,

Thank you for reaching out to the Zoom Developer Forum. When I look up the meeting ID included in your post, it looks like the meeting was created on 02/05 and deleted on 03/05. If this wasn’t something that you did, this is likely related to Meeting ID Expiration.

Please test this with a newly created meeting and let me know if you encounter the same issue.

If that’s not helpful, please provide the full request URL and JSON request body that you’re using as well as the response body that you’re seeing.

Thanks,
Max

thanks for the response. I have tested again, now it is working fine.

1 Like

Hey @jkitchingman,

Excellent, I’m glad to hear that you resolved your issue! Please don’t hesitate to reach out if you encounter any further issues or questions.

Thanks,
Max

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