1.9K members online now
1.9K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply
Highlighted

404 NOT_FOUND on accounts.list method using OAuth Playground

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

I found many questions related to the exact issue in this forum - all of them have the same answer (project id submitted during request to My Business API may be different than used to call API), but I couldn't resolve the issue after going through them.

- I can see Google My Business API listed under "Enabled APIs and services" in my project's dashboard.

- Used google OAuth Playground to access endpoint (after successfully getting an access token)

https://mybusiness.googleapis.com/v3/accounts

but I get the following response:

HTTP/1.1 404 Not Found
Content-length: 100
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-goog-trace-id: b0d603ece3d826ef41966838fc4ecd29
Transfer-encoding: chunked
Vary: Origin, X-Origin, Referer
Server: ESF
-content-encoding: gzip
Cache-control: private
Date: Tue, 12 Sep 2017 15:11:41 GMT
X-frame-options: SAMEORIGIN
Alt-svc: quic=":443"; ma=2592000; v="39,38,37,35"
Content-type: application/json; charset=UTF-8

{
  "error": {
    "status": "NOT_FOUND", 
    "message": "Method not found.", 
    "code": 404
  }
}

- The business account that granted access (in the Google OAuth Planground interface) has 1 location.


Could someone explain to me if I am missing something?

Below is a screenshot of my project's dashboard (it lists Google My Business API) and when I go to Google My Business API details page, I can see the 404 errors.dev_console_dashboard_screenshot.png

1 Expert replyverified_user

Re: 404 NOT_FOUND on accounts.list method using OAuth Playground

Google Employee
# 2
Google Employee

Hi @Lokesh M,

 

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

 

Thanks,

The Google My Business API team

404 NOT_FOUND on accounts.list method using OAuth Playground

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

I haven't got a reply on the separate email thread yet. Have responded to the email with the details requested.

404 NOT_FOUND on accounts.list method using OAuth Playground

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Could you please confirm if the newly submitted project in my latest mail is whitelisted?

404 NOT_FOUND on accounts.list method using OAuth Playground

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Hi @Shalini S

Could you please confirm if the project ID submitted in my latest email is whitelisted yet? I checked through the OAuth Playground, I still get 404 NOT_FOUND responses.

Thanks,

Lokesh

Marked as Best Answer.
Solution
Accepted by topic author Lokesh M
1w

Re: 404 NOT_FOUND on accounts.list method using OAuth Playground

Google Employee
# 6
Google Employee

Hi @Lokesh M,

 

We have activated the new project id you provided in your email to access the Google My Business API. Please let me know if you have any questions!

 

Thanks,

The Google My Business API team

404 NOT_FOUND on accounts.list method using OAuth Playground

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Hi @Shalini S, thank you very much for the timely and detailed support.

Experts in the Topic
Shalini S