Nodejs - Legacy People API ранее не использовался в проекте или он отключен, даже включен - PullRequest
0 голосов
/ 17 марта 2020

Я использую https://github.com/laardee/serverless-authentication-boilerplate и тестирую с помощью Google Oauth2.

Я уже включил People API 12 часов go, но все равно получил ошибку:

{
    "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=xxx"
                }
            ]
        }
    ]
}

Любая помощь!

...