# PolicyModificationError

- [JSON representation](https://developers.google.com/chrome/policy/reference/rest/v1/PolicyModificationError#SCHEMA_REPRESENTATION)
- [PolicyModificationFieldError](https://developers.google.com/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError)
  - [JSON representation](https://developers.google.com/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError.SCHEMA_REPRESENTATION)

Error information for a modification request of a specific policy on a specific target.

| JSON representation |
|---|
| ``` { "policyTargetKey": { object (`https://developers.google.com/chrome/policy/reference/rest/v1/PolicyTargetKey`) }, "policySchema": string, "fieldErrors": [ { object (`https://developers.google.com/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError`) } ], "errors": [ string ] } ``` |

| Fields ||
|---|---|
| `policyTargetKey` | ``object (`https://developers.google.com/chrome/policy/reference/rest/v1/PolicyTargetKey`)`` Output only. The specific policy target modification that had error. |
| `policySchema` | `string` Output only. The specific policy schema modification that had an error. |
| `fieldErrors[]` | ``object (`https://developers.google.com/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError`)`` Output only. The error messages related to the modification. |
| `errors[]` | `string` Output only. The non-field errors related to the modification. |

## PolicyModificationFieldError

Error information for a modification request of a specific field on a specific policy.

| JSON representation |
|---|
| ``` { "field": string, "error": string } ``` |

| Fields ||
|---|---|
| `field` | `string` Output only. The name of the field with the error. |
| `error` | `string` Output only. The error message related to the field. |