# io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause

From **Kubernetes**.

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

- Type: `object`

## Properties

### `field`

- Required: false
- Type: `string`

The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed.  Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

Examples:
  "name" - the field "name" on the current resource
  "items[0].name" - the field "name" on the first array entry in "items"

### `message`

- Required: false
- Type: `string`

A human-readable description of the cause of the error.  This field may be presented as-is to a reader.

### `reason`

- Required: false
- Type: `string`

A machine-readable description of the cause of the error. If this value is empty there is no information available.

## JSON Schema

```json
{"description":"StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.","properties":{"field":{"description":"The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed.  Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n  \"name\" - the field \"name\" on the current resource\n  \"items[0].name\" - the field \"name\" on the first array entry in \"items\"","type":"string"},"message":{"description":"A human-readable description of the cause of the error.  This field may be presented as-is to a reader.","type":"string"},"reason":{"description":"A machine-readable description of the cause of the error. If this value is empty there is no information available.","type":"string"}},"type":"object"}
```
