BatchCreateContactsErrorDetails

  • The contactErrors field provides error details when the people.batchCreateContacts action 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.details field of the corresponding Status object.

Message to record error details when the request fails in the people.batchCreateContacts action.

JSON representation
{
  "contactErrors": {
    integer: {
      object (Status)
    },
    ...
  }
}
Fields
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:

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.