Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught GuzzleHttp\Exception\ClientException #113

Open
smartcmsteam opened this issue Jul 30, 2023 · 1 comment
Open

Fatal error: Uncaught GuzzleHttp\Exception\ClientException #113

smartcmsteam opened this issue Jul 30, 2023 · 1 comment

Comments

@smartcmsteam
Copy link

smartcmsteam commented Jul 30, 2023

Hello,

After authentication i get this error:

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://login.microsoftonline.com/common/oauth2/v2.0/token resulted in a 401 Unauthorized response: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being se (truncated...) in /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL) #1 /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/promise in /home/plgroup/newapp.plgroup.ie/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113

How to fix it?

Thanks

@smartcmsteam smartcmsteam changed the title Installation failed, deleting ./composer.json. Fatal error: Uncaught GuzzleHttp\Exception\ClientException Jul 31, 2023
@GenieTim
Copy link

First, try to get the full response, such that the error is not truncated. There, you should see an error message telling you what went wrong during the authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants