# PolicyModificationError

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

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

| JSON representation |
|---|
| ``` { "policyTargetKey": { object (`PolicyTargetKey`) }, "policySchema": string, "fieldErrors": [ { object (`PolicyModificationFieldError`) } ], "errors": [ string ] } ``` |

| Fields ||
|---|---|
| `policyTargetKey` | ``object (`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 (`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. |