# Error

- [JSON representation](https://docs.cloud.google.com/datastream/docs/reference/rest/v1/Error#SCHEMA_REPRESENTATION)

Represent a user-facing Error.

| JSON representation |
|---|
| ``` { "reason": string, "errorUuid": string, "message": string, "errorTime": string, "details": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `reason` | `string` A title that explains the reason for the error. |
| `errorUuid` | `string` A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. |
| `message` | `string` A message containing more information about the error that occurred. |
| `errorTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time when the error occurred. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `details` | `map (key: string, value: string)` Additional information about the error. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |