JobFailedEvent
Usage
This event triggers when a job cannot proceed through its workflow, halting at a particular stage. Some reasons for this event triggering are the following:
Incomplete document data preventing classification.
Unrecoverable errors during extraction.
JSON Payload
{
"event_id": "(UUID format) - Unique identifier for the event.",
"event_type": "Describes the type of event that occurred.",
"event_time": "(floating-point numeric timestamp) - Unix timestamp representing the time when the event occurred, rounded to whole seconds.",
"event": {
"event_name": "Name of the specific event.",
"event_type": "Type of the event, often matching or related to the outer event_type.",
"company_id": "(UUID format) - Unique identifier for the company associated with the event.",
"company_name": "Name of the company involved in the event.",
"job_id": "(UUID format) - Unique identifier for the job that has failed.",
"retries": "Integer - The number of attempts made to complete the job successfully.",
"exceeded_retries": "Boolean - Indicates whether the number of attempts has surpassed the allowed threshold, which in this case is 'false', meaning more attempts might be possible.",
"error_messages": "Array of Strings - List of error messages explaining the reasons for the job's failure, such as connectivity issues and timeouts, which help in troubleshooting.",
"creation_date": "(ISO 8601 date format) - Date and time when the job was initially created.",
"update_date": "(ISO 8601 date format) - Date and time when the job or event details were last updated."
}
}
{
"event_id": "f3g4h5i6-j7k8-l9m0-n1o2-p3q4r5s6t7u8",
"event_type": "job_event_type",
"event_time": "1653139800.00",
"event": {
"event_name": "job_failed_event",
"event_type": "job_event_type",
"company_id": "34567890-4567-4567-4567-4567890123ef",
"company_name": "Innovative Solutions",
"job_id": "45678901-5678-5678-5678-5678901234fg",
"retries": "3",
"exceeded_retries": "false",
"error_messages": [
"Network connectivity issues",
"Database timeout error"
],
"creation_date": "2023-05-21T15:20:00Z",
"update_date": "2023-05-21T16:40:00Z"
}
}
Last updated
Was this helpful?