validateOnly param not working as expected[ Edited ]
March - last edited March by Shalini S
I'm sending a request to GMB API with the param validateOnly=true to check if a given address is valid. The problem is that the API is responding with a success response when using the validateOnly param but is returning an error when the validateOnly param is removed.
Example attached for the same request using/not using the validateOnly param:
Re: validateOnly param not working as expected
Hi @David R,
It is always recommended to add query parameters when you patch a location via the Google My Business API. If you set the validateOnly boolean field to true when sending a PATCH request to update a specified location via the Google My Business API, the request is validated without actually updating the location.
Please note that, whenever you update a specified location you should always set the validateOnly boolean field to false. Please checkout the given Request URI:
The Google My Business API team