| ( ! ) 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.0004 | 446440 | {main}() | ...\api_get_timeoff.php:0 |
| 2 | 0.0152 | 569824 | get_employees() | ...\api_get_timeoff.php:53 |
| 3 | 0.0205 | 808456 | GuzzleHttp\Client->request() | ...\api_get_timeoff.php:45 |
| 4 | 0.1029 | 914656 | GuzzleHttp\Promise\Promise->wait() | ...\Client.php:189 |
| 5 | 0.1029 | 914656 | GuzzleHttp\Promise\Promise->waitIfPending() | ...\Promise.php:69 |
| 6 | 0.1029 | 914656 | GuzzleHttp\Promise\Promise->invokeWaitList() | ...\Promise.php:229 |
| 7 | 0.1029 | 914656 | GuzzleHttp\Promise\Promise->waitIfPending() | ...\Promise.php:272 |
| 8 | 0.1029 | 914656 | GuzzleHttp\Promise\Promise->invokeWaitFn() | ...\Promise.php:227 |
| 9 | 0.1029 | 914656 | GuzzleHttp\Promise\TaskQueue->run() | ...\Promise.php:251 |
| 10 | 0.1030 | 913144 | GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure:C:\wamp64\www\talenta\vendor\guzzlehttp\promises\src\Promise.php:156-160}() | ...\TaskQueue.php:52 |
| 11 | 0.1030 | 913272 | GuzzleHttp\Promise\Promise::callHandler() | ...\Promise.php:158 |
| 12 | 0.1030 | 913272 | GuzzleHttp\Middleware::GuzzleHttp\{closure:C:\wamp64\www\talenta\vendor\guzzlehttp\guzzle\src\Middleware.php:67-73}() | ...\Promise.php:209 |