AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

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

Create new location admin in GMB V3.

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

Got This error while create new location admin using GMB Api

 

Google.Apis.Requests.RequestError

Request contains an invalid argument. [400]

Errors [

    Message[Request contains an invalid argument.] Location[ - ] Reason[badRequest] Domain[global]

]

1 Expert replyverified_user

Re: Create new location admin in GMB V3.

Google Employee
# 2
Google Employee

Hi @hasmukh m,

 

Please provide me with the specific locationId for the location and the full HTTP request message of the POST request for creating a new location including the URI, query parameters, and the JSON payloads of request body as well as the response body that triggered this 400 Bad Request error so that I can help you troubleshoot this issue further.

 

In addition, since the C# client library doesn’t currently support the display of detailed error messages, we suggest you follow the Make a simple HTTP request step-by-step guide on the Google Developers site to learn how to use the OAuth 2.0 Playground for troubleshooting errors with detailed error messages when sending requests with data via the Google My Business API.

 

Thanks,

Shalini