Asana / php-asana

Official PHP client library for the Asana API v1
MIT License
136 stars 59 forks source link

Invalid Request On findAll Users Method #81

Closed ursoforte closed 3 years ago

ursoforte commented 3 years ago

Hi,

When I try to load all Organization users (no params), I get an error message. This simple code below returns "Invalid Request". Also, adding the code in try/catch with the Exception \Asana\Errors\AsanaError does not catch anything.

$result = $asanaClient->users->findAll(); // HTTP ERROR 500

But, when I try the code I have a successful return.

$result = $asanaClient->users->findAll(['workspace' => '1200-fake']); // Success load

Well, I contoured it in my code to leave the option of getting all users (first option). But, my question is; have any option that I need to add to the findAll() method to get all organization users?