Open red8001 opened 3 years ago
The problem is you don't have an actual user to schedule the meeting for. You need to use the find() or get() function to get a user instance.
For example, you could do something like this to find a user by their email address:
$user = Zoom::user()->find('email@example.com');
EN: It could happend when the topic is to long, it have to bee max 200 characters length ES: esto puede suceder cuando el tema es demasiado lago, tiene que ser de máximo una longitud de 200 caracteres.
hi, i installed the package into my project and i give it to a form who send a request of variables to the controller but when i create a meeting into zoom its display for me this error: Trying to access array offset on value of type null
my function is like that :
public function store(Request $request) {
$user = Zoom::user();
$meetingData = [ 'topic' => $request->topic, 'duration' => $request->duration, 'password' => $request->password, 'start_time' => $request->start_time, 'timezone' => 'africa/casablanca' ]; $meeting = Zoom::meeting()->make($meetingData); $meeting->settings()->make([ 'join_before_host' => true, 'approval_type' => config('zoom.approval_type'), 'host_video' => false, 'participant_video' => false, 'mute_upon_entry' => true, 'waiting_room' => true, 'audio' => config('zoom.audio'), 'auto_recording' => config('zoom.auto_recording'), ]); $user->meetings()->save($meeting);
and the error is generated from this path: C:\wamp\www\smsd\vendor\macsidigital\laravel-api-client\src\Support\Builder.php:765 thanks for helping me