MacsiDigital / laravel-zoom

Laravel Zoom Package
MIT License
260 stars 135 forks source link

ArgumentCountError: Too few arguments to function MacsiDigital\API\Support\Resource::__construct() #121

Closed Mohamed-Abdalhamed99 closed 1 year ago

Mohamed-Abdalhamed99 commented 2 years ago

i am trying to get list of users from zoom account

this my code

public function getUsers(){ $users = Zoom::user()->get(); return response()->json($users); }

it return ArgumentCountError: Too few arguments to function MacsiDigital\API\Support\Resource::__construct(), 0 passed in C:\xampp\htdocs\a\academeyat_back\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Concerns\HasAttributes.php on line 2107 and at least 1 expected in file C:\xampp\htdocs\a\academeyat_back\vendor\macsidigital\laravel-api-client\src\Support\Resource.php on line 15

MatthewLoffredo commented 2 years ago

I'm having the same issue, I'm unable to log the ResultSet using ->toArray() or ->toJson(). It's giving me the same error as above.

colinhall17 commented 1 year ago

This was fixe don the underlying API library, make sure its pulling version 4.0.2 of the API library