( ! ) 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.0004360416{main}( )...\api_get_timeoff.php:0
20.0306397944get_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.0350661712GuzzleHttp\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 20:30:19 GMT', 'Authorization' => 'hmac username="fduyrfWZTmhtKOGr", algorithm="hmac-sha256", headers="date request-line", signature="rVDwOTgemH4ZvGsFXVFaje8jXp8z+rLVXCNVbnyZcwQ="', 'X-Idempotency-Key' => '1234'], 'body' => '[]'] )...\api_get_timeoff.php:45
40.1057747208GuzzleHttp\Promise\Promise->wait( $unwrap = ??? )...\Client.php:189