( ! ) Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `GET https://api.mekari.com/v2/talenta/v2/time-off/employee/2544210/history?date=12-2024&limit=10&page=1` resulted in a `401 Unauthorized` response: {"code":"MAG-008: Current scope is not allowed for accessing end point.","message":"mag: unauthorized"} in C:\wamp64\www\talenta\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113
( ! ) GuzzleHttp\Exception\ClientException: Client error: `GET https://api.mekari.com/v2/talenta/v2/time-off/employee/2544210/history?date=12-2024&limit=10&page=1` resulted in a `401 Unauthorized` response: {"code":"MAG-008: Current scope is not allowed for accessing end point.","message":"mag: unauthorized"} in C:\wamp64\www\talenta\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113
Call Stack
#TimeMemoryFunctionLocation
10.0305364464{main}( )...\api_get_timeoff.php:0
20.0419401832get_employees( $client = class GuzzleHttp\Client { private $config = ['curl' => [...], 'base_uri' => class GuzzleHttp\Psr7\Uri { ... }, 'handler' => class GuzzleHttp\HandlerStack { ... }, 'allow_redirects' => [...], 'http_errors' => TRUE, 'decode_content' => TRUE, 'verify' => TRUE, 'cookies' => FALSE, 'idn_conversion' => FALSE, 'headers' => [...]] }, $page = 1 )...\api_get_timeoff.php:53
30.0450665600GuzzleHttp\Client->request( $method = 'GET', $uri = '/v2/talenta/v2/time-off/employee/2544210/history?date=12-2024&limit=10&page=1', $options = ['headers' => ['Content-Type' => 'application/json', 'Date' => 'Tue, 27 Jan 2026 19:56:11 GMT', 'Authorization' => 'hmac username="fduyrfWZTmhtKOGr", algorithm="hmac-sha256", headers="date request-line", signature="TcWpdzDCzhMB9+FX2GNcpZ9q0CyBc6/D937IFIlD/d8="', 'X-Idempotency-Key' => '1234'], 'body' => '[]'] )...\api_get_timeoff.php:45
40.0982751256GuzzleHttp\Promise\Promise->wait( $unwrap = ??? )...\Client.php:189