Google Contacts allows us to bypass Etag verification by passing * instead of the contact's current Etag for Edit/Delete requests.
Google Contacts API documentation
Note: The special Etag value * can be used to bypass this verification and process the update regardless of updates from other clients.
Is there any similar way to bypass the Etag verification for edit/delete in People API?
Facing the following error if the etag value is not sent in Person object during update. The value " * " is also not working in People API.
Request:
{
"emailAddresses": [
{
"displayName": "[email protected]",
"value": "[email protected]",
"type": "home"
}
]
}
Response:
{
"error": {
"code": 400,
"message": "Request must set person.etag or person.metadata.sources.etag for the source that is being updated.",
"status": "INVALID_ARGUMENT"
}
}
{ "error": { "code": 400, "message": "Invalid updatePersonFields mask path: \"names.given_name\". Valid paths are documented at https://developers.google.com/people/api/rest/v1/people/updateContact.", "status": "INVALID_ARGUMENT" } }
Any idea how to give this mask? – Yusem