BatchCreateContactsErrorDetails
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["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."]]],["The core content details the structure for recording errors in the `people.batchCreateContacts` action. It uses a `contactErrors` map to report failures. The `contactErrors` map uses an integer key representing the index of the contact in the batch request. The value associated with each key is a `Status` object, providing error details for that specific contact. If a contact's index is not in the map, its creation was successful. The details about error for that specific contact are in the `google.rpc.Status.details`.\n"]]