# ApplyAdminConsentsErrorDetail

Contains the error details of the unsupported admin Consent resources for when the \[ApplyAdminConsents\]\[\] method fails to apply one or more Consent resources.

| JSON representation |
|---|
| ``` { "consentErrors": [ { object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/Shared.Types/ApplyAdminConsentsErrorDetail#ConsentErrors`) } ], "existingOperationId": string } ``` |

| Fields ||
|---|---|
| `consentErrors[]` | ``object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/Shared.Types/ApplyAdminConsentsErrorDetail#ConsentErrors`)`` The list of Consent resources that are unsupported or cannot be applied and the error associated with each of them. |
| `existingOperationId` | `string` The currently in progress non-validate-only ApplyAdminConsents operation ID if exist. |

## ConsentErrors

The Consent resource name and error.

| JSON representation |
|---|
| ``` { "name": string, "error": { object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/Shared.Types/Status`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The versioned name of the admin Consent resource, in the format `projects/{projectId}/locations/{location}/datasets/{datasetId}/fhirStores/{fhirStoreId}/fhir/Consent/{resourceId}/_history/{version_id}`. For FHIR stores with `disableResourceVersioning=true`, the format is `projects/{projectId}/locations/{location}/datasets/{datasetId}/fhirStores/{fhirStoreId}/fhir/Consent/{resourceId}`. |
| `error` | ``object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/Shared.Types/Status`)`` The error code and message. |