| ( ! ) 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 |
| # | Time | Memory | Function | Location |
| 1 | 0.0305 | 364464 | {main}( ) | ...\api_get_timeoff.php:0 |
| 2 | 0.0419 | 401832 | get_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 |
| 3 | 0.0450 | 665600 | GuzzleHttp\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 |
| 4 | 0.0982 | 751256 | GuzzleHttp\Promise\Promise->wait( $unwrap = ??? ) | ...\Client.php:189 |