My Business
2.3K members online now
2.3K members online now
For developers who are using the Google My Business API to manage locations
Guide Me

API is returning 404 - method not found

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭



I'm trying to connect in My Business Google API and it is returning me 404 - not found.


I'm using google/apiclient v2.1.2 and I already have the my business api enabled in my account.


Php code



        $client = new Google_Client();
        $httpClient = $client->authorize();
        /** @var Response $response */
        $response = $httpClient->get('');


Some idea about where is the error ?





1 Expert replyverified_user

Re: API is returning 404 - method not found

Google Employee
# 2
Google Employee

Hi @Marc M,


The 404 Method not found error typically happens when you are using a different Project ID from the one we whitelisted for your company to access the Google My Business API.


We’ll reach out to you privately on a separate thread for more details.



The Google My Business API team