# BatchCreateContactsErrorDetails

- [JSON representation](https://developers.google.com/people/api/rest/v1/BatchCreateContactsErrorDetails#SCHEMA_REPRESENTATION)

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

| JSON representation |
|---|
| ``` { "contactErrors": { integer: { object (`https://developers.google.com/people/api/rest/v1/Status`) }, ... } } ``` |

| Fields ||
|---|---|
| `contactErrors` | ``map (key: integer, value: object (`https://developers.google.com/people/api/rest/v1/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 `https://developers.google.com/people/api/rest/v1/people/batchCreateContacts#body.request_body.FIELDS.contacts`. Indexes start from 0. - The value is a Status. `https://developers.google.com/people/api/rest/v1/Status#FIELDS.details` will 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" }`. |