Fatal error: Uncaught exception 'HapiClient\Exception\HttpClientErrorException' with message '401 Unauthorized' in /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php:147
Stack trace:
#0 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/Auth/Oauth2BasicAuthentication.php(169): HapiClient\Http\HapiClient->sendRequest(Object(HapiClient\Http\Request))
#1 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/Auth/Oauth2BasicAuthentication.php(110): HapiClient\Http\Auth\Oauth2BasicAuthentication->getAccessToken(Object(HapiClient\Http\HapiClient))
#2 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php(216): HapiClient\Http\Auth\Oauth2BasicAuthentication->authorizeRequest(Object(HapiClient\Http\HapiClient), Object(HapiClient\Http\Request))
#3 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php(122): HapiClient\Http\HapiClient->createHttpRequest(Object(HapiClient\Http\Request))
#4 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php(190): HapiClient\Http\HapiClient->sendRequest(Object(HapiClient\Http\Request))
#5 /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php(161): HapiClient\Http\HapiClient->getEntryPointResource()
#6 /home/www/client/www/apiSlimPay/index.php(42): HapiClient\Http\HapiClient->sendFollow(Object(HapiClient\Http\Follow))
#7 {main}
thrown in /home/www/client/www/apiSlimPay/hapiclient-php-master/src/Http/HapiClient.php on line 147