Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Mohamed-Abdalhamed99 opened this issue Apr 6, 2022 · 2 comments

Comments

@Mohamed-Abdalhamed99
Copy link

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
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants