Google OAuth shows below error
403 - Legacy People API has not been used in project
Did you visit the linked page and enable the API as instructed?
Did you visit the linked page and enable the API as instructed?
Yes, but it shows as below
"Failed to load."
"There was an error while loading /apis/api/legacypeople.googleapis.com/overview?project=
Hi @thameemk612,
According to the documentation, the legacy People API cannot be enabled for new projects. It is automatically available for users of the now shutdown Google+ APIs.
You can use the People API v1 instead. Click here to enable the API.
Hi @thameemk612,
According to the documentation, the legacy People API cannot be enabled for new projects. It is automatically available for users of the now shutdown Google+ APIs.
You can use the People API v1 instead. Click here to enable the API.
Thanks @jdpedrie
Message: Error calling GET https://www.googleapis.com/plus/v1/people/me: (403) Legacy People API has not been used in project 986391836060 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=986391836060 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
Filename: C:\xampp\htdocs\ci_login_app\application\libraries\Google\Http\REST.php
Line Number: 110
@jdpedrie I already enabled People api and wait for 12 hours but nothing change.
Activation status
Enabled
Log error
{
"code": 403,
"message": "Legacy People API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=xxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Google developers console API activation",
"url": "https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=xxxx"
}
]
}
]
}
@alviandaniel2109 @abinhho make sure you're using Google_Service_PeopleService, not Google_Service_People.
@jdpedrie I am using https://www.googleapis.com/plus/v1/people/me. So what's things I have to config or enable in google api console? I am using nodejs.
Please direct questions about the Node clients to google-api-nodejs-client.
Most helpful comment
Yes, but it shows as below. Please try again."
"Failed to load."
"There was an error while loading /apis/api/legacypeople.googleapis.com/overview?project=