Description
A clear and concise description of what the question is.
Using oAuth, JWT, Guzzle or CURL. I have tried this using combination of all of these. I send the request for the meeting and the process just repeats. I end up with a list of meetings before finally, I hit the 100 per day limit.
Error
The full error message or issue you are running into.
‘{“code”:429,“message”:“You have exceeded the daily rate limit (100) of Meeting Create/Update API requests permitted for this particular user. You may resume these requests at GMT 00:00:00.”}’ (length=190)
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT (I have tried OAuth as well)
Which Endpoint/s?
https://api.zoom.us/v2/users/’.USER_ID.’/meetings’
How To Reproduce (If applicable)
Steps to reproduce the behavior:
function UseToken($accToken,$order_id){
$Meet=new Meet;
$arrObj=$Meet->gatherOrderDetails($order_id);
$meetings=count($arrObj);
//var_dump($arrObj);
for($i=0;$i<$meetings;$i++){
//echo("Meetnigs=".$meetings."<br>");
$ThisMeeting=json_decode($arrObj[$i]);
$ThisJSON= [
'topic' => 'Video consultation with Dr. xxxxxxxxxxxxxx',
'type' => 2,
'start_time' => $ThisMeeting->start,
'duration' => 20, // 20 mins
'agenda'=>$ThisMeeting->topic,
'settings' => array(
'host_video'=>TRUE,
'participant_video'=>TRUE,
'cn_meeting'=>FALSE,
'in_meeting'=>FALSE,
'join_before_host'=>FALSE,
'mute_upon_entry'=>FALSE,
'watermark'=>FALSE,
'use_pmi'=>FALSE,
'approval_type'=>0,
'audio'=>'voip',
'auto_recording'=>'cloud',
'enforce_login'=>FALSE,
'enforce_login_domains'=>FALSE,
'registrants_email_notification'=>TRUE)
];
$inf=json_encode($ThisJSON,true);
$curl = curl_init();
$url = 'https://api.zoom.us/v2/users/'.USER_ID.'/meetings';
//$curl = curl_init($url);
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $inf,
CURLOPT_HTTPHEADER => array(
"authorization: Bearer ".$accToken,
"content-type: application/json"
),
));r
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.