Search code examples
google-cloud-platformgoogle-my-business-api

Getting 404 not found in Google my business


Hi I'm trying to get reviews from google My business API. But after trying everything it gives me 404 not found error. I contact Google Cloud support, they said Google cloud support doesn't look after Google my business. Its a dead end asking any kind of support from Google. First they have a terrible documentation which compels you to buy the standard plan, once you buy they will raise hands saying they can't help(Shame). I'm forced to use GCP as GMB is handled by Google otherwise it will a blind choice between Azure or AWS.

Anyways check this link to replicate my issue on Google OAuth 2.0 Playground.

enter image description here


Solution

  • I solved it.

    Correct Endpoint: https://mybusinessaccountmanagement.googleapis.com/v1/accounts

    The user should have ownership of all the locations and the access token should be generated from the same user.