Access Not Configured. The API (Google+ API) is no

2019-02-17 09:57发布

问题:

Giving error even I enabled Google+ API in Google Developers Console

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."

回答1:

You have not enabled the Google+ API for your project in the Google Developer console. Make sure that its enabled and double check that your code is using the correct client_id and clientsecret, that match this project. My tutorial on how to enable APIs in Google Developers console.

Where to enable it:

Go to the Google developer console on the left look for the Apis & Auths menu under that you will find the API menu.

APIs & auth -> API

Look for Google+ API enable it.



回答2:

I found there to be about a 30 minute delay between enabling the API and it allowing me to make calls.

To speed this up I needed to run an API explorer query like this: https://developers.google.com/apis-explorer/?hl=en_US#p/calendar/v3/calendar.calendarList.list

But it may have been a coincidence :)