Page Summary
-
The
contactErrorsfield provides error details when thepeople.batchCreateContactsaction fails, mapping the index of the failed contact in the request to a Status object describing the error. -
If a contact's index is not present in
contactErrors, it means the creation of that contact was successful. -
Detailed error information for each failed contact can be found within the
google.rpc.Status.detailsfield of the corresponding Status object.
Message to record error details when the request fails in the people.batchCreateContacts action.
| JSON representation |
|---|
{
"contactErrors"
:
{
integer
:
{
object (
|
contactErrors
map (key: integer, value: object (
Status
))
Provides details for the client to identify the contact(s) that caused the batch creation to fail. If an index does not appear, then the creation of that contact would have been successful.
In the map below:
- The key is the index of the contact in the
BatchCreateContactsRequest.contacts. Indexes start from 0. - The value is a Status.
google.rpc.Status.detailswill contain the list of errors for the contact
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.

