Hey guys!
So, the users signs in with Google Oauth, I get the Code on the URL and change it with the Access Token, so I can refresh it each 60m and keep the user logged in.
So far so good.
The problem is, I list the Google Account name, and after that I want to list the Google My Business Profiles on that account, but it shoots that ‘Request contains an invalid argument’ error.
The endpoint is:
https://mybusinessbusinessinformation.googleapis.com/v1/accounts/{accountID}/locations
I got the account ID on the node before, and the Acess Token is also fresh, so not a clue why it’s not working.
Some extra info:
- I did use the business.manage scope on the Google OAuth URL
- The Access Token is valid, else I would not be able to list the account with it
- Even using the value static it doesn’t work
Thanks in advance.
Can you open the error detail to let us know what happened?
Of course, here’s the error detail:
Just want to double check if you’ve seen this since I tried making a GBP workflow a few weeks back.
Once connecting to the API you now have to request an increase in quota to be able to use it. But getting approved is a long and difficult path so ive heard.
Screenshot, default quota is 0. Need to request for increase.
Ehy @zannotoai,
Do you have the opportunity to verify that the ID account that provides you with the node is the correct one?
Yeah, Google approved my access to the main GBP API and gave me some limit.
This are my limit for the main API:
This one is for the GBP Information API, which I think is the one used for the Endpoint of the error:
@Gallo_AIA Yeah, I used the account ID on the core GBP node and it worked.
Any success trying the http request via postman first?