javascript – 未配置访问权限.您的项目未启用API(Google API).请使用Google Developers Console更新您的配置
作者:互联网
即使我在Google Developers Console中启用了Google API也会出错
Code:403 “message”: “Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration.”
解决方法:
您尚未在Google Developer Console中为项目启用Google API.确保它已启用并仔细检查您的代码是否正在使用与此项目匹配的正确client_id和clientsecret.我在how to enable APIs in Google Developers console.上的教程
在哪里启用它:
转到左侧的Google developer console寻找Apis& amp;在Auths菜单下,您将找到API菜单.
APIs & auth -> API
寻找Google API启用它.
标签:google-developers-console,javascript,google-api,google-plus 来源: https://codeday.me/bug/20191008/1870869.html