ErrorEvent

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

JSON representation
{"eventTime":string,"serviceContext":{object (ServiceContext)},"message":string,"context":{object (ErrorContext)}}
Fields
eventTime

string (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 (ServiceContext)

TheServiceContext for which this error was reported.

message

string

The stack trace that was reported or logged by the service.

context

object (ErrorContext)

Data about the context in which the error occurred.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-12 UTC.