BatchCreateContactsErrorDetails
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/21 (UTC).
[null,null,["Dernière mise à jour le 2024/08/21 (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"]]