Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

msforbes09's avatar

Legacy People API has not been used in project

Im having problem using socialite, i get this response

GuzzleHttp\Exception\ClientException: Client error: GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false resulted in a 403 Forbidden response: { "error": { "code": 403, "message": "Legacy People API has not been used in project 335529560492 before or it (truncated...) in C:\xampp\htdocs\projects\sofi-loclist\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113

0 likes
2 replies
lgalaz's avatar

Just Leaving the comment in case someone else has this issue. I am working on a Laravel 5.2 project, using PHP 7.0.1.

The fix was to upgrade Socialite to 3.4 (It looks like version 4 requires PHP > 7.1).

Please or to participate in this conversation.