# StatusProto

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/StatusProto#SCHEMA_REPRESENTATION)

Wire-format for a Status object

| JSON representation |
|---|
| ``` { "code": integer, "space": string, "message": string, "canonicalCode": integer, "messageSet": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/MessageSet`) } } ``` |

| Fields ||
|---|---|
| `code` | `integer` Numeric code drawn from the space specified below. |
| `space` | `string` Space to which this status belongs |
| `message` | `string` Detail message |
| `canonicalCode` | `integer` The canonical error code that most closely corresponds to this status. |
| `messageSet` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/MessageSet`)`` Associates an arbitrary proto message with the status. |