Closed as not planned
Closed as not planned
Description
When requesting attributes via MyBusinessBusinessInformation I get an error from the Google API
$locationsAttributes = $this->getMyBusinessBusinessInformation($token)->locations_attributes;
try {
$attributesModel = $locationsAttributes->getGoogleUpdated($name);
} catch (GoogleServiceException $e) {
$e1 = $e;
}
$locations = $this->getMyBusinessBusinessInformation($token)->locations;
try {
$attributesModel = $locations->getAttributes($name);
} catch (GoogleServiceException $e) {
$e2 = $e;
}
in both cases there is an error:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "read_mask",
"description": "Field is required"
}
]
}
]
}
}
"google/apiclient": "^2.18",
"google/apiclient-services": "^v0.396",
Metadata
Metadata
Assignees
Labels
No labels