403消息:Legacy People API尚未在项目中使用 [英] 403 Message: Legacy People API has not been used in project

查看:109
本文介绍了403消息:Legacy People API尚未在项目中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google API已激活,但给出了错误; 旧版People API之前尚未在项目中使用过,或者已被禁用.通过访问 https://console.developers来启用它. google.com/apis/api/legacypeople.googleapis.com/overview?project= 然后重试.如果您最近启用了此API,请等待几分钟,以便该操作传播到我们的系统并重试.

Google API is active but give error ; Legacy People API has not been used in project before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project= then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

推荐答案

您不需要安装其他任何API,例如Google Drive API,Google Sheets API或Google+ API之外的其他API,

You don't need to install any other APIs like Google Drive API, Google Sheets API or other except Google+ API,

由于"passport-google-oauth":"^ 1.0.0"

The error is coming because of "passport-google-oauth": "^1.0.0"

只需将版本"passport-google-oauth":"^ 1.0.0"更改为"passport-google-oauth":"^ 2.0.0",然后删除node_modules和package.lock.json文件并运行"npm"我"

Just change the version "passport-google-oauth": "^1.0.0" to "passport-google-oauth": "^2.0.0" and remove node_modules and package.lock.json file and run "npm i"

就这样

这篇关于403消息:Legacy People API尚未在项目中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆