403 error with message:Access Not Configured. Please use Google Developers Console to activate the API for your project 403 error with message:Access Not Configured. Please use Google Developers Console to activate the API for your project php php

403 error with message:Access Not Configured. Please use Google Developers Console to activate the API for your project


I was getting the exact same error (except with the Google Glass Mirror API). Adding billing information and adding both http/https to my redirect URL didn't help either.

Apparently Google APIs have been known to misbehave when you provide both OAuth2 credentials and an API Key! The solution (if you are using the Google APIs Client Library for PHP) is to simply remove the following from your code:

$client->setDeveloperKey($key);

Hope this helps.


I got exactly the same error. In my case, I was trying to access "https://www.googleapis.com/plus/v1/people", and 'Google+ API' was not enabled for my project in API's section. I just had to set 'Google+ API' ON