Closed clecocq closed 5 years ago
Hello, ErrorException are thrown only when the server returns an error. (The message comes from Sellsy). Wthen the failure comes from the library, or the transport (guzzle or other), the exception is of type RequestFailureException.
Have a nice day.
Hey,
After much investigations, there's a typo here : https://github.com/TeknooSoftware/sellsy-client/blob/master/definitions/Supplier.php#L48
It should be "Supplier" and not "Support".
Thanks,
A patch has been released. 2.0.5. It's fine for you?
Hey perfect thank you
Thanks for the feed back. Happy new year
Hello,
I'm not able to make this work with your library
return $this->sellsyClient->get()->Supplier()->getList(['pagination'=>['nbperpage'=>$nbPerpage, 'pagenum'=>$pageNum]])->getResponse();
I'm using exactly the same with clients and it's working, but in the case of suppliers it's not. I cannot find if the error comes from your library or from sellsy.
Teknoo\Sellsy\Client\Exception\ErrorException : Plugin support is not loaded
Thank you in advance,
Cyril