# ErrorEvent

- [JSON representation](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ErrorEvent#SCHEMA_REPRESENTATION)

An error event which is returned by the Error Reporting system.

| JSON representation |
|---|
| ``` { "eventTime": string, "serviceContext": { object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext`) }, "message": string, "context": { object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ErrorContext`) } } ``` |

| Fields ||
|---|---|
| `eventTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used. 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"`. |
| `serviceContext` | ``object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext`)`` The `ServiceContext` for which this error was reported. |
| `message` | `string` The stack trace that was reported or logged by the service. |
| `context` | ``object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/ErrorContext`)`` Data about the context in which the error occurred. |