Error: It can only be deleted by deleting its +page.[ Edited ]
June 2016 - last edited June 2016 by Terry W
i am trying to delete a duplicate location over My Business API (v3 Java), but i am getting an error:
"code" : 400,
"message" : "Location accounts/XXXXX/locations/XXXXX has a Google+ page. It can only be deleted by deleting its +page.",
"status" : "FAILED_PRECONDITION"
So is there a way to delete this location? Because if i do it over the MyBusiness UI, it takes a lot of steps to finish/delete this location. Is there a workaround at the moment? or should i check the Google + API also?
Re: Error: It can only be deleted by deleting its +page.
Hi @Mustafa K,
Only a non-verified location without an associated Google+ page, as indicated by a plusPageId in the LocationKey, can be deleted via the Google My Business API. The canDelete boolean field in the LocationState object indicates whether the location can be deleted using the Google My Business UI. Please use the Google My Business UI to delete a location that has an associated Google+ page.