Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://westcentralus.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=age,gender,headPose,smile,facialHair,glasses,emotion,hair,makeup,occlusion,accessories,blur,exposure,noise` resulted in a `401 PermissionDenied` response:
{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to prov (truncated...)
in /home/myregs/vorona.ru/docs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /home/myregs/vorona.ru/docs/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Promise\Promise->wait()
#10 /home/myregs/vorona.ru/docs/classes/Faceapi.php(19): GuzzleHttp\Client->request('POST', 'https://westcen...', Array)
#11 /home/myregs/vorona.ru/docs/index.php(11): Face\Classes\Faceapi->detect('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...')
#12 {main}
thrown in /home/myregs/vorona.ru/docs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113